Question 1022166
it looks like you are looking for the least common multiple.
start with the biggest box you have.
that's a box that contains 8 cupcakes.
so start with 8.
look to see if 3 and 4 both divide equally into it.
4 does, but 3 doesn't.
go to the next multiple of 8, which is 16.
4 divides into it evenly but 3 doesn't.
go to the next multiple of 8 which is 24.
both 4 and 3 divide equally into.
looks like the lest number of cupcakes you can have are 24.