Question 179908
Let H be the cost of the hot dog, D be the cost of a soft drink.
1.{{{8H+5D=16}}}
2.{{{13H+6D=23.45}}}
We can use eq. 1 to get H in terms of D.
1.{{{8H+5D=16}}}
{{{8H=16-5D}}}
{{{H=2-(5/8)D}}}
Now substitute this expression into eq. 2 and solve for D.
2.{{{13H+6D=23.45}}}
{{{13(2-(5/8)D)+6D=23.45}}}
{{{26-(65/8)D+6D=23.45}}}
{{{-(65/8)D+(48/8)D=23.45-26}}}
{{{-(17/8)D=-2.55}}}
{{{D=(2.55)(8/17)}}}
{{{D=1.2}}}
Now that you have D, go to either eq. 1 or 2 and solve for H.
{{{H=2-(5/8)D}}}
{{{H=2-(5/8)(1.2)}}}
{{{H=2-0.75}}}
{{{H=1.25}}}
Hot dogs cost $1.25, soft drinks cost $1.20.