Need more information to solve, but the standard rule is:
(f◦g)(x) = f(g(x))
(g◦f)(x) = g(f(x))
8.7m questions
11.4m answers