If a group of 3 people are together, needing 8 chocolates each. This means that the total number of chocolates needed is 8 × 3 = 24.
Again, we are told that each box contains 6 chocolates. This means that to get the number of boxes needed, we have to divide the total number of chocolates needed by the number of chocolates per box.