So for this, you will be doing a system of equations. The first equation will be how much you spent and the second equation is how much they advertise.
Let h = cost of hotdog and d = cost of drinks
With this, i'll be using the substitution method. So firstly, subtract 10h on each side of the first equation. It will look like this:
Next, divide 5 on each side of the first equation. Your answer will be
Next, replace d in the second equation with (7-2h). Your second equation will look like this: . From here you can solve for h.
Firstly, foil 4(7-2h).
Next, combine like terms:
Next, subtract 28 on each side to get
Lastly, multiply -1 on each side of the equation to get
Now that we got h, we can solve for d by substituting 2.75 in the h variable in either equation. For this, I'll be using the first one.
In short, hotdogs are $2.75 each and drinks are $1.50 each.