We need that the average is at least 84.6 points. Let x be the score of the final test, the average then will be:
And we need this to be at least 84.6, this can be written as:
Now we solve this inequality to find x:
Therefore John has to achieve at least 87 points in the fifth test to achieve an average of 84.6.