Okay- so the goal here is to figure out how many of each item the store manager has to give to each person for everyone to get the same amount of items, the same exact items, and to ALSO run out of items.
To do this, you need to divide the amount of items by how many of that item you want to give to each person. The result is how many people you can give that many of this item to before it runs out.
The answer is:
(Pins) 240: 4 per person
(Ornaments) 360: 6 per person
(Mugs) 540: 9 per person
The first 60 people will retrieve these gifts.