Remember the rule $\displaystyle \frac{a^2}{b^2} = {\left(\frac{a}{b}\right)}^2$? well, if you square both sides of the equation, you'll remove the square root.

Then, you can rearrange to remove the fraction, and solving for $\displaystyle z$ should be easier.