Composition of functions:
f(g(x)): Write the equation of f(x) and substitute the x in that equation by the equation of g(x):
Simplify:
g(f(x)): Write the equation of g(x) and substitute the x in that equation by the equation of f(x):
Simplify:
Then, the composition of the given functions is: