Illustration of a right triangle that can be used to show Pythagorean theorem. "In any right triangle,…