Answer:
The cost of a soda is
cents.
Step-by-step explanation:
It is given that a hot dog costs twice as much as a soda.
Let x be the cost of a soda in cents.
Cost of a hot dog = 2x cents.
It is given that a vendor sells h hot dogs and s sodas. So, the total cost s

The vendor takes in a total of d dollars.
1 dollar = 100 cents
d dollars = 100d cents.
It means total cost is 100d.


Divide both sides by (2h+s).

Therefore, cost of a soda is
cents.