The average runs scored by a batsman in 20 matches is 40. In the next 10 matches the batsman scored an average of 13 runs. Find his average in all the 30 matches?

The average runs scored by a batsman in 20 matches is 40. In the next 10 matches the batsman scored an average of 13 runs. Find his average in all the 30 matches?

A. 31
B. 29
C. 28
D. 30
Explanation:
Total score of the batsman in 20 matches = 800.
Total score of the batsman in the next 10 matches = 130.
Total score of the batsman in the 30 matches = 930.
Average score of the batsman = 930/30 = 31