press the green flag the Pythagorean theorem is that a^2 + b^2 = c^2 for a right triangle where a= a leg, b= a leg, and c= the hypotenuse. I converted the formulas to find a and b as well. Other formulas: c^2 - a^2 = b^2 c^2 - b^2 = a^2