The amount which is left for us to determine is the earnings of the first and third grade. This can be determined by equating all earnings to the total school earnings and let 1st and 3rd grade be the variable x:
$2800 = $200 + $200 + $400 + $400 + x + x $2800 = $1200 + 2x $1600 = 2x x = $800