Answer
See explanations.
Work Step by Step
The domain requirement of the composite function $(f\circ g)(x)$ is that the values of $g(x)$ must be in the domain of $f(x)$, which means that we must exclude $x$ values of $g(x)$ are not in the domain of $f(x)$.