Composition of a function is done by substituting one function into another function. For example, f [g (x)] is the composite function of f (x) and g (x). The composite function f [g (x)] is read as “f of g of x”. The function g (x) is called an inner function and the function f (x) is called an outer function.
The notation used for the composition of functions looks like this, (f g)(x). ... (f g)(x) and(g f)(x) are often different because in the composite(f g)(x), f(x) is the outside function and g(x) is the inside function. Whereas in the composite(g f)(x), g(x) is the outside function and f(x) is the inside function.
attached is a file/ picture i made in google images of a graph of it, i explain the steps as well. id appreciate a brainliest since the drawing took a good 15 minutes but its up to you! Hope i helped.</span></span>