x+2x+4+3x+8=720
8x+ 12=720
x= 1 18
So the lower grades get 1 18, the middle grades get 2× 1 18+4=240, and the upper grades get 3× 1 18+8=362.