Explanation:
Given relationship is the Pythagorean theorem.
a and b are legs, c is the hypotenuse. The hypotenuse is the greatest side of the right triangle. The square of the hypotenuse is equal to the sum of the squares of the other sides.
We can substitute side measures in two ways:
or
The variable c has a fixed position so we can't have more than two ways.