Option (D) is correct.
Explanation:
The number in each row must divide 45 exactly (tomato bed) and also divide 63 exactly (chilli bed). So it must be a common factor of 45 and 63.
Factors of 45: 1, 3, 5, 9, 15, 45.
Factors of 63: 1, 3, 7, 9, 21, 63.
Common factors: 1, 3 and 9.
7 is a factor of 63 (9 rows of 7 chillies), but 45÷7 is 6 with remainder 3. Three tomato seedlings would be left over, so rows of 7 are not possible.
Why the other options are wrong
- (A) Rows of 9 work: 5 rows of tomato and 7 rows of chilli.
- (B) Rows of 3 work: 15 rows of tomato and 21 rows of chilli.
- (C) Rows of 1 work (45 rows and 63 rows). It is a silly plan, but it is possible, because 1 is a factor of every number.