PLEASE HELP A store is having a sale on chocolate chips and walnuts. For 5 pounds of chocolate chips and 3 pounds of walnuts, the total cost is $21. For 2 pounds of
chocolate chips and 6 pounds of walnuts, the total cost is $24. Find the cost for each pound of chocolate chips and each pound of walnuts.

Respuesta :

Answer:

Chocolate Chips cost $2.25 and Walnuts cost $3.25 per pound each

Step-by-step explanatChocion:

Let x = cost of pounds of chocolate chip cookies and y = cost of pounds of walnuts.

From the question, we get 5x+3y = 21 and 2x+6y = 24. To solve the equation, we use substitution. From the first equation, we get y = (21-5x)/3. We substitute the y into the second equation to get 2x + 6(21-5x)/3 = 24. This turns out to be 2x+(42-10x) = 24. Adding like terms you should get 42-8x = 24. Solving for x, x = $2.25 per pound. Plugging this into the first equation, we get 5(2.25)+3y = 21. Solving for y, we get $3.25 per pound of walnuts. If we plug in the numbers into the 2 equations, we will get the right total.