a) the total number of sweets: 945 + 1089 + 840 + 160 = 3034
b) the difference between the number of choc buds and the number of smarties: 1089 - 840 = 249
<em>P.S. Hope it helps. If you have any questions, feel free to ask them in the comment section below. I'll be happy to help. Have a wonderful day!</em>