Answer:
The cost of a candy bar is
![\$1.5](https://img.qammunity.org/2020/formulas/mathematics/high-school/hnb297sszk3en0j6rye4bzyr5j530ruc6d.png)
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
![(1.39,1.5)](https://img.qammunity.org/2020/formulas/mathematics/high-school/eg6qb5vv837qcxegdw7metwaqphmjvmf4k.png)
see the attached figure
therefore
The cost of a soda is
![\$1.39](https://img.qammunity.org/2020/formulas/mathematics/high-school/9u038m800hwmpgrwn94odcx8dnpl0s7geg.png)
The cost of a candy bar is
![\$1.5](https://img.qammunity.org/2020/formulas/mathematics/high-school/hnb297sszk3en0j6rye4bzyr5j530ruc6d.png)