Answer:
22
Explanation:
If there are n children, the number of candies in the first distribution is ...
3n +1
If the same number of candies is distributed to the same n children, then the second distribution tells us ...
2n +8 = 3n +1
7 = n . . . . . . . . . subtract 2n+1. This is the number of children.
The number of candies is ...
3(7) +1 = 22
There were 22 candies in total.