Example 1 Theorem of Pythagoras