Answer: the cost of each pound of jellybeans is $2.5
the cost of each pound of almonds is $1
Explanation:
Let x represent the cost of each pound of jellybeans.
Let y represent the cost of each pound of almonds.
For two pounds of jellybeans and 5 pounds of almonds the total cost is $10. It means that
2x + 5y = 10- - - - - - - - -1
For 8 pounds of jellybeans and 3 pounds of almonds, the total cost is $23. It means that
8x + 3y = 23- - - - - - - - - -2
Multiplying equation 1 by 4 and equation 2 by 1, it becomes
8x + 20y = 40
8x + 3y = 23
Subtracting, it becomes
17y = 17
y = 17/17
y = 1
Substituting y = 1 into equation 1, it becomes
2x + 5 × 1 = 10
2x + 5 = 10
2x = 10 - 5 = 5
x = 5/2 = 2.5