Total score: 81* (49+51) = 8100.
Suppose the average grade of Class Two is X, and the question is:
49x+5 1*(x-7)=8 100
x=84.57
The average score of Class Two is 84.57.
May be helpful to you, hope to adopt!