Dinesh went from place A to place t B and from there to place C

Dinesh went from place A to place t B and from there to place C. A is 7.5 km from B and B is 12.7 km from C. Ayub went from place A to place D and from there to place C. D is 9.3 km from A and C is 11.8 km from D. f Who travelled more and by how much?