In a right triangle, the square of the hypotenuse is equal to the sum of the squares of the legs.
Do you remember that?)