The functions are and .
Definition of composite function : .
In rational functions the denominator cannot be equal to zero.
Domain of the composite function is .
Domain of composite function is .