Simple approach: use statistic concepts, unit digit and answer choices
Analysis stem: total of 90 students, scored either 800 or 500 points, average = 560, how many scored 800?
S = (#)(A) -> (sum) = (amount of numbers)(average)
In this question we would get: (90)(560) = (90)(560)
800x + 500y = sum (a.k.a. (90)(560))
Notice also that x represents the students who scored 800, and y the students who scored 500
Divide by 100 to get: 8x + 5y = (9)(56) which is 504
From here on out just use the answer choices to your advantage. A very quick approach is to use the unit digit, we need the 8 to end in a 4, since the 5, in this scenario, will only be a round number given our answer choices
(A) 15
If x = 15, then (8)(15) = 120 (doesn't end in a 4, and also we can't get 5y to 504 with this result)
(B) 18
If x = 18, then (8)(18) = 144 (ends in a 4, and we can get 5y to 504, where y would be 72)
(C) 20
If x = 20, then (8)(20) = 160 (same as A)
(D) 24
If x = 24, then (8)(24) = 192 (same as A)
(E) 36
If x = 36, then (8)(36) = 288 (same as A)
Hence B is the answer