Question:
Cathy and David each had a piece of dough of the same mass at first. Cathy divided her dough into equal parts of mass 90 g and for each part, she used it to bake 2 star-shaped cookies. David also divided his dough into equal parts of mass 150 g and for each part, he used it to bake 6 heart-shaped cookies. There were 72 more heart-shaped cookies than star-shaped cookies in the end.
(a) How many cookies did Cathy and David bake altogether?
(b) David packed his cookies into 22 boxes. Some boxes contained 5 cookies while the rest contained 9 cookies. How many boxes contained 9 cookies?

Solution:
