150k views
4 votes
Pls Hurry: Ruben bought 2 candy bars and 4 bags of chips for $24. Lucia bought 2 candy bars and 2 bags of chips for $14. What was the cost of the individual candy bar and a bag of chips?

User Vic Zhou
by
4.3k points

1 Answer

3 votes

Answer:

A candy bar costs $0.80

A bag of chips costs $6.20

Explanation:

Let's call candy bars x, and bags of chips y.

Ruben ought 2x and 4y for $24

Lucis bought 2x and 2y for $14

This means that 2x+4y = 24 and 2x+2y = 14

Now we have a system of equations that we can solve.

2x + 2y = 14

2(x + y) = 14

x + y = 7

y = 7 - x

Plug this into the next equation to get:

2x + 4y = 24

2x + 4(7 - x) = 24

2x + 28 - 7x = 24

28 - 5x = 24

-5x = -4

x = -4/-5

x = 4/5 = 0.8

plug that x value into y = 7 - x to find y

y = 7 - x

y = 7 - (4/5)

y = 245/35 - 28/35

y = 217/35 = 6.2

now we can check our work:

2(x + y) = 14

2(6.2 + 0.8) = 14

2(7) = 14

14 = 14

^ this means our values are correct

Answer:

A candy bar costs $0.80

A bag of chips costs $6.20

User Gareth Whittaker
by
5.2k points
Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.