Question 182217
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 both of them 

Rock + Jazz = 174
x+(x+96)=174
2x+96=174

subtract 96 on both the sides
2x+96-96=174-96
2x=78
Divide with 2 on both the sides
x=39
so, x+96 = 39+96 = 135
Thus,the number of cities visited by Rock band is 39.
And the number of cities visited by Jazz band is 135.