You can
put this solution on YOUR website!g(x) is a sqrt, so you know that the value under the radical cannot be negative.
You then need to solve for those values of f(x) that resolve to non-negative. Any value of x that results in f(x)>=0 is in the domain.