Let S be the required score

The total of the two scores divided by two will give the average.

(S + 82) / 2 = 90 multiply both sides by 2

S + 82 = 180 subtract 82 from both sides

S = 180 - 82 complete the subtraction

S = 98 Sarah must make a 98 on her next test to average 90