I took too long to reply there

My method mentioned above would not work here being that the weight in his question would not be the %, but the numbe of students. The method I mentioned above was just an example of what weighted averages are.
But for his question, the weight(W) would be the # of students for each %, and (X) would be the % they scored, so it would look like this:
(100% * 2)+(80%*8)
--------------------------- = 8.4/10 = .84%
10
So the overall class average would be 84%