Option (D) is correct.
Explanation:
Sita has 8a+6 cupcakes and Rita has 8b+2 cupcakes for some whole numbers a and b. Together:
(8a+6)+(8b+2)=8a+8b+8=8(a+b+1)
a multiple of 8. The leftovers 6+2=8 make exactly one more full box. For example, 22+18=40=5×8.
Only the leftovers matter, because the full boxes are already multiples of 8.
Why the other options are wrong
- (A) Leftovers 6+4=10=8+2: one more box is filled, but 2 cupcakes are still left over.
- (B) Leftovers 4+0=4: half a box, so 4 cupcakes are left over.
- (C) Leftovers 2+0=2: 2 cupcakes are left over. Mita's full boxes cannot help Rita's 2 extra cupcakes.