given f(x)=x^2 what is the domain of g(x)=f(x+2)-5