Question 290213
Let the number of students who took the test efore Ryna be represented by x.
The total number of points they scored is their average * their number

{{{PointsBeforeRyan = x * 71}}}
Ryan take the test and gets a 96. So let's add is score to the previous total
{{{PointsAfterRyan = PointsBeforeRyan + Ryan}}}
{{{PointsAfterRyan = 71x + 96}}}

You can also calculate the points after Ryan using the average method. However, there is one more student grade, so now we have x+1 students in the average
{{{PointsAfterRyan = (x+1) * 72}}}
{{{PointsAfterRyan = 72x + 72}}}

Thus
{{{71x + 96 = 72x + 72}}}
{{{24 = x}}}
So there were 24 students who took the test before Ryan took it.

Adding Ryan to that mix, we get 25 students total.

Your teacher will expect 'None of the above"

For a little fun, ask if answers 1 and 2 are both correct too :) If 25 students took the test, then certainly 21 and 22 students took it as well :) After all, you can't get 25 students to take a test if 21 and 22 didn't as well!