Option (C) is correct.
Explanation: The piece length must divide 27 completely and also divide 45 completely. So it must be a common factor of 27 and 45.
Factors of 27: 1, 3, 9, 27
Factors of 45: 1, 3, 5, 9, 15, 45
The common factors are 1, 3 and 9. Of the options, only 9 cm is a common factor.
27=3×945=5×9
So the first ribbon gives 3 pieces and the second gives 5 pieces, with nothing left over.
Why the other options are wrong
- (A) 5 cm works for the 45 cm ribbon, but 27 = 5 × 5 + 2, so 2 cm of the first ribbon is left over.
- (B) 6 cm works for neither ribbon: 27 = 6 × 4 + 3 and 45 = 6 × 7 + 3, so 3 cm is left over each time.
- (D) 27 cm uses the first ribbon as one whole piece, but 45 = 27 + 18, so 18 cm of the second ribbon is left over.