Time taken by the man to reach the market from home, t1 = 2.5/5 = (1/2)h = 30 min
Time taken by the man to reach home from the market, t2 = 2.5/7.5 = (1/3)h = 20 min
Total time taken in the whole journey = 30 + 20 = 50 min

Time = 50 min = (5/6)h
Net displacement = 0
Total distance = 2.5 + 2.5 = 5 km

Speed of the man = 7.5 km
Distance travelled in first 30 min = 2.5 km
Distance travelled by the man (from market to home) in the next 10 min = 7.5 x 10/60 = 1.25 km
Net displacement = 2.5 – 1.25 = 1.25 km
Total distance travelled = 2.5 + 1.25 = 3.75 km
