There are 7 places A, B, C, D, E, F and G in a city connected by various roads AB, AC, CD, DE, BF, EG and FG…
There are 7 places A, B, C, D, E, F and G in a city connected by various roads AB, AC, CD, DE, BF, EG and FG. A is 10 km west of C. D is 5 km east of E. C is 6 km north of D. F is 9 km west of B. F is 12 km north of G. A person travels from D to F through these roads. What is the distance covered by the person?
20 km
25 km
31 km
37 km
Solution
The available roads form the route from D to F. Using the road network, the person travels along connected segments D-C, C-A, A-B and B-F (roads CD, AC, AB, BF). Computing each segment from the given positions - CD = 6 km, AC = 10 km, AB and BF from the coordinate placement - the total distance covered along the path sums to 31 km.