On a map with a scale of 1:40000, the distance between the two places is 5cm. What is the actual distance between the two places

On a map with a scale of 1:40000, the distance between the two places is 5cm. What is the actual distance between the two places

The scale is 1:40000, that is, 1 cm on the map represents the actual distance of 40000 cm, that is 400 meters
5x400 = 2000 (m)
Or 5x40000 = 200000 cm
200000 cm = 2000 m
The actual distance between a and B is 2000 meters