Answer:
First city was= $ x = $ 5604
Second city was =$(x +1000) = $6604
Explanation:
The tax in the first city was 8.5%
The tax in the second city was 5.5%
Let the hotel charge amount before tax for the first city be $x
Let the hotel charge amount before tax for the second city be: $(x+1000)
Applying the tax
First city will be;
8.5/100*(x) = $0.085 x
Second city will be;
5.5/100* (x+100) =0.055(x+100) = $ (0.055x+5.5)
Total hotel tax paid for the two cities was ;
0.085 x + 0.055 x + 5.5 = $(0.14 x + 5.5)
This expression for total hotel tax paid for the two cities is equal to $790
$(0.14 x + 5.5) = $ 790
0.14 x = 790 -5.5
0.14 x = 784.5
x= 784.5/0.14
x=5603.57
x= $5604 ( nearest $)
Before tax, hotel charge for;
First city was= $ x = $ 5604
Second city was =$(x +1000) = $6604