Solve for z square root of z^2+5-2=z