Option (A) is correct.
Explanation:
The equation 2x+5y=24 has infinitely many solutions, but here x and y count bags, so both must be whole numbers (0, 1, 2, …).
Try each possible number of 5-kg bags. Since 5y≤24, y can only be 0, 1, 2, 3 or 4:
| y (5-kg bags) | 24−5y | x=224−5y |
|---|
| 0 | 24 | 12 |
| 1 | 19 | not a whole number |
| 2 | 14 | 7 |
| 3 | 9 | not a whole number |
| 4 | 4 | 2 |
So the possible packings are (12,0), (7,2) and (2,4). Only (2,4) has more 5-kg bags than 2-kg bags.
Check: 2×2+5×4=4+20=24. He uses 2+4=6 bags.
Why the other options are wrong
- (B) 9 bags is the packing (7,2): it has more 2-kg bags (7) than 5-kg bags (2).
- (C) 12 bags is the packing (12,0): it uses no 5-kg bags at all.
- (D) 4 counts only the 5-kg bags and forgets the two 2-kg bags.