Let n = the number of students to begin with, so that n+3 = the number afterwards.
Now translate the English into math.
400/(n + 3) = the amount each student will receive after the 3 new students are added
400/n is the amount each would have received originally.
Therefore the equation is'
400/(n + 3) = (400/n) - 30 = (400 - 30n)/n
Cross multiply:
400n = 400n + 1200 - 30n2 - 90n
Collect terms and divide through by 30:
n2 + 3n - 40 = 0
(n - 5)(n + 8) = 0
The root n = - 8 is extraneous and n = 5.
Initially each student would have received 400/5 = 80; after the 30 reduction that would be 50.
And 400/8 = 50...so the answer does, in fact ssolve the problem.