the underlying formula that you want to use here is
(90 + 5x)/6 = 85 because the average across all 6 needs to be 85
solving that algebraically for the value of "x" yields
90 + 5x = 510
5x = 420
x = 84
meaning that her average grade for the other 5 subjects is 84