(z+2)/sqrt(z+1)=A solve for z