Question

$$y=\sqrt{x+5}; y\ge0$$

Solve for x

$x=z^{2}-5$
$z\geq 0\text{ and }y=z$

Solve for z

$z=\sqrt{x+5}$