Compute the domain of the real-valued function f(x) = sqrt(1 - sqrt(2 + x)).
We have that 2+x>=0 so x>=-2, and also 1-sqrt(2+x)>=0 so sqrt(2+x)<=1 so either 2+x<=1 or 2+x>=-1 and those mean x<=-1, x>=-3 so it is -2<=x<=-1.