It is a right-angled triangle and the Pythagorean theorem applies.
THEOREMA (by Pythagoras): Given a right-angled triangle ABCABC as in the figure, then the relation is valida2 + b2 = c2a2 + b2 = c2where cc is the hypotenuse of the triangle and b, ab, a are the cathets.