solve right triangle with hypotenuse 9 and leg 5