Boys and girls

Can you find the total number of students in the school, given some information about ratios?
Exploring and noticing Working systematically Conjecturing and generalising Visualising and representing Reasoning, convincing and proving
Being curious Being resourceful Being resilient Being collaborative

Problem

In September, the ratio of boys to girls in a school was 3:2.

By June, there were 80 fewer boys and 20 fewer girlsĀ in the school, and the ratio of boys to girls was 7:5.

What was the total number of students in the school in September?

This problem is adapted from the World Mathematics Championships