What is the domain and range of x=(y+2)^2?

Domain would be [0, $\infty$) and Range would be [-2,$\infty$)
The function would either be y+2=$\sqrt{x}$ or -$\sqrt{x}$. If y+2= $\sqrt{x}$ is the function, it would represent the upper portion of a horizontal parabola, with its vertex at (0,-2).
Domain would be [0, $\infty$) and Range would be [-2,$\infty$)