if he has 15 cartons, and 12 eggs fit in each, you need to multiple 15 by 12 to get 180, which is the amount of eggs in the cartons. then you need to add 7 because those were left over when they didn’t fit in the cartons. 180+7=187 eggs
dave collected 187 eggs