Solve problems involving the side-length relationship for right triangles in real-life situations, including problems that involve composite shapes.