You can put this solution on YOUR website!
Let the number of cities visited by Rock band be x.
The jazz band visited 96 cities more than the rock band.
So, the number of cities visited by Jazz band will be (x+96).
Together the two tours visited 174 cities.
So, add them together.
Rock + Jazz = 174
Now, subtract 96 on both the sides
Now, divide with 2 on both the sides
Thus, x+96 = 39+96 =135.
So, the number of cities visited by Rock band is 39.
And the number of cities visited by Jazz band is 135.