BEST ANSWER GETS BRAINLIEST!!!!

A store is having a sale on trail mix and jelly beans. For 3 pounds of trail mix and 8 pounds of jelly beans, the total cost is $31. For 5 pounds of trail mix and pounds of 2 jelly beans, the total cost is 12. Find the cost for each pound of trail mix and each pound of jelly beans.

Respuesta :

Answer:

3x + 8y = 31

5x + 2y = 12

Let's solve your system by elimination.

Multiply the second equation by -4, then add the equations together.

(3x + 8y = 31)

−4 (5x + 2y = 12)

Becomes:

3x + 8y = 31

−20x − 8y = −48

Add these equations to eliminate y:

−17x = −17

Then solve −17x = −17 for x:

−17x = −17

−17x −17 = −17 − 17 (Divide both sides by -17)

x = 1

Now that we've found x let's plug it back in to solve for y.

Write down an original equation:

3x + 8y = 31

Substitute 1 for x in 3x + 8y = 31:

(3)(1) + 8y = 31

8y +3 = 31 (Simplify both sides of the equation)

8y + 3 − 3 = 31 − 3 (Add -3 to both sides)

8y = 28

8y8 = 288 (Divide both sides by 8)

y = 7/2