Answer: Hello mate!
We want to distribute 24 muffins, 18 breakfast bars and 12 bottles of juice evenly into baskets, and we want to know the maximum amount of baskets that makes this possible.
This means that we are looking for the maximal common factor between 12, 18 and 24.
To find it, you can took the smallest number in the set, in this case, 12, and look at his divisors, then see if these divisors also divide the other numbers in the set.
Let's do it:
The biggest divisor of 12 is 6, because of 12/6 = 2.
Now 18/6 = 3, so 6 is also a divisor of 18.
24/6 = 4, then 6 is also a divisor of 24.
Then the maximal common factor of the numbers 12, 18 and 24 is 6.
This means that the maximum number of baskets that have an even distribution of the things is 6, where each basket has 2 bottles of juice, 3 breakfast bars, and 4 muffins.