\left(\frac{\partial z}{\partial y}\right)^2=(-y)^2=y^2