P covers his journey in three parts at different speeds. Average speed is calculated as Total Distance ÷ Total Time.
Assume the total journey = 120 km (chosen as the LCM of 5, 6, and 40 to avoid decimals).
Part 1: 52 of journey
Distance =52×120=48 km
Part 2: 81 of journey
Distance =81×120=15 km
Part 3: Remaining portion
Remaining =1−52−81=4019
Distance =4019×120=57 km
Total Distance =48+15+57=120 km
Time for each part using Time =SpeedDistance:
Part 1: Time =2048=2.4 hours
Part 2: Time =515=3 hours
Part 3: Time =1957=3 hours
Total Time =2.4+3+3=8.4 hours
Average Speed =Total TimeTotal Distance
=8.4120≈14.28 km/h (option 2).