At a grocery store, Rick bought 4 loaves of bread and 3 gallons of milk for $20. Danny bought 6 loaves of bread and 2 gallons of milk for $25. Identify the cost of a loaf of bread and a gallon of milk

Respuesta :

Hey there! I'm happy to help!

Let's call the cost of a bread loaf b and the cost of a milk gallon m. Here is the info we have.

4b+3m=20

6b+2m=25

We solve one equation for b or m (we will solve the first one for b.

4b+3m=20

Subtract 3m from both sides.

4b=20-3m

We divide both sides by 4.

b=5-3/4m

We plug this value of b into the second equation to solve for m.

6(5-3/4m)+2m=25

We use distributive property to undo the parentheses.

30-4.5m+2m=25

We combine like terms.

30-2.5m=25

We subtract 30 from both sides.

-2.5m=-5

We divide both sides by -2.5

m=2

We plug this m into one of the original equations to find b.

4b+3(2)=20

4b+6=20

Subtract 6 from both sides.

4b=14

Divide both sides by 4.

b=3.5

So, a loaf of bread costs $3.50 and a gallon of milk costs $2.00.

Have a wonderful day!:D