Question 1201529
<br>
Let x be the number of boys and the number of girls.<br>
The boys each ate 1/6 of a pizza; the number of pizzas the boys ate was x(1/6) = x/6.  They ate all the pizzas they got, so the number of pizzas they got was x/6.<br>
The girls each ate 1/18 of a pizza; the number of pizzas they ate was x(1/18) = x/18.  They finished with 6 2/3 pizzas left over.  The number of pizzas they got was x/18 + 6 2/3 = x/18 + 20/3.<br>
The number of pizzas the girls got was twice the number the boys got:<br>
x/18 + 20/3 = 2(x/6)<br>
Multiply by 18 to clear fractions....<br>
x+120 = 6x
5x = 120
x = 24<br>
There were 24 boys and 24 girls in the group.<br>
Each of the 24 boys ate 1/6 of a pizza; that makes 4 pizzas.<br>
The girls got twice as many pizzas as the boys, so the girls got 8 pizzas.<br>
So the total number of pizzas Mr. Cody bought was 4+8 = 12.<br>
ANSWER: 12<br>