Answer: Using the 2nd equation for substitution in the 1st equation:
c + 4g = 93
c = (93-4g)
8(93-4g) + 12g = 364
744 - 32g + 12g = 364
-32g + 12g = 364 - 744
-20g = -380
g = -380/-20
g = +$19 for the ginger cookie dough
then
c = 93 - 4(19)
c = $17 for the chip dough
Explanation: