Answer
km
Work Step by Step
The two towns are 40 km apart. As we the length between the towns can be measured in km, m cm and mm because it is a length unit. If we choose 40 m, 40 cm or 40 mm, it will be too less for distance between the two towns. So km is the correct answer.