45 students for performance
30 students for jazz
19 for both
Add the two bands first
45 + 30 = 75 students
Since there are 19 for both and the question is how many students signed up for only one of the two bands (not both bands).
75 - 19 = 56 students signed for one of the two bands
So you're good to go