So the average score of the top seven is x- 1.
So the average score of 10 is x-3.
So the total score of the top four is 4x.
The total score of the top seven is 7*(x- 1)=7x-7.
So the total score of 5, 6 and 7 is (7x-7)-4x=3x-7.
The total score of the former 10 is 10*(x-3)= 10x-30.
So the total score of 8,9, 10 is 10x-30-(7x-7)=3x-23.
So if 567 is greater than 89 10, it is divided into 3x-7-(3x-23)= 16.