Final answer:
Ming sold 5 packages of white chocolate chip cookie dough and 14 packages of oatmeal cookie dough for a total of $320. Amanda sold 8 packages of white chocolate chip cookie dough and 7 packages of oatmeal cookie dough for a total of $204. One package of white chocolate chip cookie dough costs $8, and one package of oatmeal cookie dough costs $20.
Step-by-step explanation:
To solve this problem, we can use a system of equations. Let x represent the cost of one package of white chocolate chip cookie dough and y represent the cost of one package of oatmeal cookie dough.
Ming sold 5 packages of white chocolate chip cookie dough at a cost of 5x and 14 packages of oatmeal cookie dough at a cost of 14y. This gives us the equation 5x + 14y = 320.
Amanda sold 8 packages of white chocolate chip cookie dough at a cost of 8x and 7 packages of oatmeal cookie dough at a cost of 7y. This gives us the equation 8x + 7y = 204.
Now we can solve this system of equations to find the values of x and y. Multiplying the first equation by 8 and the second equation by 5, we get 40x + 112y = 2560 and 40x + 35y = 1020.
Subtracting the second equation from the first, we get 77y = 1540. Dividing both sides by 77, we find that y = 20.
Substituting this value of y into the first equation, we get 5x + 14(20) = 320. Simplifying, we find that 5x + 280 = 320. Subtracting 280 from both sides, we get 5x = 40. Dividing both sides by 5, we find that x = 8.
Therefore, one package of white chocolate chip cookie dough costs $8, and one package of oatmeal cookie dough costs $20.