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