Let us write our functions:
Now,
Shorter,
On the other hand, we need to remember that the domain of a composition is the domain of the first function to be composed; in this case, it's g(x). The domain of g(x) consists of all numbers x such that
for the square root of negative numbers makes no sense. Then,
The domain of g(x) consists of all numbers greater than or equal to 7, and the domain of f(g(x)) as well, by what we said above.