Answer:
The cost of a candy bar is

Explanation:
Let
x----> the cost of a soda
y----> the cost of a candy bar
we know that
-----> equation A
-----> equation B
Solve the system of equations by graphing
Remember that the solution of the system of equations is the intersection point both graphs
The solution is the point

see the attached figure
therefore
The cost of a soda is

The cost of a candy bar is
