Independent solution, agreeing with the supplied numeric answers. Total marks for the 4 subjects = average × number of subjects = 40 × 4 = 160. English and Mother Tongue together give 35 + 45 = 80, so Science and Mathematics together give 160 − 80 = 80.
The original table shows the Science tens digit 3 and the Mathematics ones digit 7, with the other digits covered. To make a total ending in 0, the Science ones digit must be 3, since 3 + 7 = 10. Science is therefore 33. Mathematics = 80 − 33 = 47. Check: (35 + 45 + 33 + 47) ÷ 4 = 160 ÷ 4 = 40. The visible digit clues are essential; the average alone does not determine the two marks.