okay, for rational functions, we have the condition that we cannot divide by zero. and you know the condition for square roots. so there are three conditions you want to fulfill here
for f(x): you want
for h(x): you want (for the square root) and (for the rational function being square rooted)
of course, for h(x), both conditions must be fulfilled at the same time. so find the x's that work for both simultaneously