Answer :
You can answer this with a system of equations.
j = # of cities jazz band visited
r = # of cities rock band visited
j + r = 177
j = 93 + r
Substitution
93 + r + r = 177
2r = 84
r = 42
j = 135
j = # of cities jazz band visited
r = # of cities rock band visited
j + r = 177
j = 93 + r
Substitution
93 + r + r = 177
2r = 84
r = 42
j = 135