Answer:
Chocolate bars: $0.95 each
Sour keys: $0.05 each
Total cost for 8 chocolate bars and 24 sour keys: $8.80
Explanation:
sour keys=x
chocolate bars=y
15x+2y=2.65
10x+3y=3.35
multiply the second equation by 1.5
15x+4.5y=5.025
2.5y=2.375
y=0.95
Chocolate bars are $0.95 each.
Now substitute the y value in one of the equations
15x+2(0.95)=2.65
15x+1.9=2.65
15x=0.75
x=0.05
Sour keys are $0.05 each.
For the second part of the question, just multiply the number of chocolate bars by the cost and same thing with the sour keys and add them.
Final answer: $8.80