Ue use the theorem:
The equation relating the lengths of the sides a, b and c, often called the "Pythagorean equation":

where c represents the length of the hypotenuse (the side opposite the right angle) and a and b the lengths of the triangle's other two sides.
;
