Let marks acquired in 6th test equal to x. Since the mean is the sum of observations divided by the total number of observations, we have
which gives
By substituting the given mean value , we get
Then, by multiplying both sides by 6, we have
then, x is given by
Then, Kara will have to score 20 marks in the final test to get the desired mean value.