On a map with a scale of 1:300000, the distance between a and B is 7.5cm If it is changed to 1:2500000 on the map, what is the distance between a and B

On a map with a scale of 1:300000, the distance between a and B is 7.5cm If it is changed to 1:2500000 on the map, what is the distance between a and B

Suppose: the actual distance between a and B is x, then:
7.5:x=1:300000
x=2250000
Suppose: on the map, the distance between the two places is y, then:
y:2250000=1:2500000
y=9
Therefore, a and B are 9cm apart on the map