a ^2+b^2=c^2 solve for c
Take the root of both sides, and then solve. c = sqrt a^2 + b^2, - sqrt a^2 + b^2.