The total travel distance is the sum of partial distances
total travel distance = 3 miles + 4 miles = 7 miles.
The displacement is the distance from the starting point to the ending point
displacement = = 5 miles.
Solved, answered and explained.
The lesson to learn is to distinct the traveled distance from the displacement.