We know in total there are 272pop, rock and hip hop songs.
We will express
pop - p
rock - r
Hip hop- h
P+r+h= 272
Pop songs is 3x the number of rock songs
P= 3r
number of hip hop songs is 32 more than the rock songs
H= r+32
Now substitute for h and p variable into the big expression. That should solve for the number of rock songs, then go on for there by substituting numbers