* One way distance: 2.5 km
* Round trip distance: 2.5 km + 2.5 km = 5 km
Therefore, the truck travels a total distance of 5 km.