Raymond J. answered 12/18/20
Patient with Ability to Explain in Many Ways
You first break it down into equations. Let A = cost per pound of Almonds and J = cost per pound of Jelly Beans.
3A + 8J = 21 and 5A + 2J = 18.
Now we have two variables and two equations. We solve for one in the first and plug it into the 2nd.
3A = 21-8J ⇒ A = (21-8J)/3
Plug this into the 2nd equation to get
5(21-8J)/3 + 2J = 18 ⇒ 5(21-8J) + 6J = 54 ⇒ 105 - 34J = 54 ⇒ -34J = -51 ⇒ J = 51/34 = 1.5 so Jelly Beans cost $1.50 per pound.
Now solving for A we get
5A + 2(1.5) = 18 ⇒ 5A = 18 - 3 = 15 ⇒ A = 3
So Almonds cost $3.00 per pound and Jelly Beans cost $1.50 per pound.
To check: 5(3.00) + 2(1.50) = 15 + 3 = 18 and 3(3.00) + 8(1.5) = 9 + 12 = 21.