Pythagorean theorem :
c^2 = a^2 + b^2
Where:
c = hypotenuse (the longest side ) = 82
A & b = the other 2 sides (18 and 80)
Replacing:
82^2 = 80^2 + 18^2
Solve:
6,724 = 6,400+ 324
6,724 = 6,724
Both sides of the equations are equal. IT is a right triangle