calculate the hypotenuse of the triangle

firstly check that one of your angle is 90 degrees.