
Step-by-step explanation
A composite function is a function that is written inside another function. Composition of a function is done by substituting one function into another function.
f [g (x)] is the composite function of f (x) and g (x). so

hence
Step 1

so

Step 2

I hope this helps you