11. Applications of the Pythagorean theorem