f(x) = 2x-3; g(x) = 3x-2. First the function f(x) converts "x" into "2x-3"; Then the function g(x) converts "2x-3" into 3*(2x-3)-2.