Final answer:
The lengths of the sides of the rectangle are: Case 1: 32.14 in, 12.86 in. Case 2: 32.14 in, 12.86 in.
Step-by-step explanation:
Let the ratio of the length and width of the rectangle be 5:2. Let the length of the rectangle be 5x and the width be 2x.
Since the rectangle is inscribed in a right isosceles triangle, the length of the hypotenuse is equal to the sum of the length and width of the rectangle, i.e., 45 = 5x + 2x.
Simplifying the equation, we get 7x = 45.
Therefore, x = 45/7.
Case 1: The length of the rectangle is 5x = 5 * (45/7) = 32.14 in, and the width is 2x = 2 * (45/7) = 12.86 in.
Case 2: The length of the rectangle is 5x = 5 * (45/7) = 32.14 in, and the width is 2x = 2 * (45/7) = 12.86 in.