You need to solve this inequality 80 <=< 90. I will do it step by step : 5*80 <= 77 + 63 + 92 + 78 + x < 5*90 400 <= 310 + x < 450 400 - 310 <= x < 450 - 310 90 <= x < 140. But the value of x is restricted from the above by 100 automatically (= by the definition (!) ), so the ANSWER is : the student must get any grade equal or greater than 90.