How to find the domain of a rational function with square roots (we need three conditions)