Independently derived; corrected the source’s informal mixing of fractions and student counts.
Let R be the number of students remaining after the English Section. Mother Tongue has R ÷ 3 − 3 students. Therefore Media has R − (R ÷ 3 − 3) = 2R ÷ 3 + 3 students.
2R ÷ 3 + 3 = 27, so 2R ÷ 3 = 24 and R = 24 ÷ 2 × 3 = 36. Mother Tongue has 36 ÷ 3 − 3 = 9 students.
Check: Mother Tongue and Media together have 9 + 27 = 36 students. A total of 52 students gives 52 ÷ 4 + 3 = 16 in English, leaving 36.