Find the dimensions of the largest rectangle that can be inscribed in a right triangle with legs of length 9 cm and 12 cm if two sides of the rectangle lie along the legs. List the dimensions in non-decreasing order.

You can earn partial credit on this problem.