The pythagorean theorem also known as right triangle theorem describes that the side opposite the right triangle equals the sum of the squares of the other two sides.
In equation we have
z² = x² + y², Where z is the longest side or the side opposite the right triangle and x and y represents the remaining two sides (interchangeable) which makes the triangle