The Total solution for NCERT class 6-12
Let us consider, town A at point (0, 0).Therefore, town B will be at point (36, 15).
Distance between points (0, 0) and (36, 15)
The distance between town A and B will be 39km.