For this problem, we are given the value of a hotel charge before taxes, then we are informed of the taxes on two hotels in different cities, and the total value paid for these taxes. We need to create a system of linear equations for the situation and determine the value of the charges before taxes for each city.
We know the total value paid in taxes, therefore we have:
We can solve the second equation, and then replace the found value for y on the first equation. We have:
They spent $5750 on the first city and $4250 on the second city.