SOLUTION
Let us represent the hotel charge with different variables x and y:
Let the hotel charge before tax in the first city be x
Let the hotel charge before tax in the second city be y
Now, let us represent the word problem in equation form:
First, we were told that the charge before tax in the second city is $500 more than the charge before tax in the first city, this can be represented thus:

Going forward in the question, we were told the tax for the first city (x) is 5%(0.05), and the tax for the second city is 6%(0.06). The total tax from both cities is $552.5, this expression can be written mathematically as:

Now, by solving equation 1 and equation 2 simultaneously, we will obtain the hotel charge in each city before tax. (that is the value of x and y).

Using, the substitution method of solving simultaneous equation, we will solve further:


The hotel charge before tax in the first city is $4750.
Now, substitute the value of x into equation 1 to get the value of y (hotel charge before tax in the second city)

The hotel charge before tax in the second city is $5250.