the average score of two classes A and B is (3x+40) marks. The average score of class A of 40 students is (2x+31) marks. Find the average score, in terms of x, of Class B of 20 students.

1 answer

The total score of class A is (40)(2x + 31) = 80x + 1240.
The total score of class B is 2(3x + 40) - (80x + 1240) = 6x + 80 - 80x - 1240 = -74x - 1160.
The average score of class B is (-74x - 1160)/20 = -37x - 58. Answer: \boxed{-37x-58}.