The answer is: g ( x) and f ( x) are not inverses of each other.
Step-by-step explanation:
This is why you need to check both ways: sometimes there are fussy technical considerations, usually involving square roots, that force the composition not to work, because the domains and ranges of the two functions aren't compatible.