I found an easier way to get to the answer without going through the quadratic equation.
1) Prime 216 = 6 * 9 * 4 =
3 * 3 * 3 * 2 * 2 * 22) Both the original and new group sizes must divide 216 evenly (i.e., result in whole numbers of caramels per child)
Let's go over the answer choices and see which are NOT factors of 216.
A) 36 = 6 * 6
- can construct from primes of 216, keepB) 24 = 6 * 4
- can construct from primes of 216, keep C) 20 = 4* 5
-- not a factor as we don't have 5, eliminateD) 18 = 6 * 3
- can construct from primes of 216, keep E) 12 = 3 * 4
- can construct from primes of 216, keep Now let's add 6 to each of the remaining options and see if
that number is a factor of 216:
A) 36 + 6 = 42 = 6 * 7
-- not a factor as we don't have 7, eliminate B) 24 + 6 = 30 = 6 * 5
-- not a factor as we don't have 5, eliminate C) ELIMINATED
D) 18 + 6 = 24 = 6 * 4
- can construct from primes of 216, keep E) 12 + 6 = 18 = 6 * 3
- can construct from primes of 216, keep Now we are only left with 2 choices: 18 and 12.
Let's consider 18 first:
By looking at primes of 216, let's divide 216 by 18. I do it by crossing off the numbers needed to get 18:
3 * 3 * 3 * 2 * 2 * 2 --> 12 is the number of candy kids will get initiallyAdd 6 and let's do the same for 24:
3 * 3 * 3 * 2 * 2 * 2 --> 9 is the number of candy each kid will get after adding 6 kids. 12 - 9 = 3 --> sufficient, but let's check the other choiceDoing the same for 12:
216 / 12 =
3 * 3 * 3 * 2 * 2 * 2 = 18216 / (12+6) = 12 (from above)
18 - 12 = 6, not our answer
Thus, our answer is D