f(x) is a rule, not multiplication
f(x) means "apply the rule f to the input x". To evaluate, substitute the input everywhere x appears.
Substitute expressions too
The input can itself be an expression.
Composition
f(g(x)) means do g first, then f.
"Defined operation" symbols
The GAT-E often invents a symbol and defines it, e.g. "a ★ ". Just follow the definition.
Read the definition carefully and substitute in the given order.