Distance covered in first half =40 kmSpeed of the train in the first half=30 km/hThen, the time taken = 4030 hr
Let the speed of the train for the second half be x km/h.Distance covered in second half =40 kmThen, the time taken = 40x hr
Total time taken =(4030+40x) hr
Given: Average speed of whole journey=Total distanceTotal time=45 km/h
80 km4030+40x hr=45 km/h8040 (130+1x)=45
2=45×(130+1x)2=(4530+45x)2=(32+45x)12=45xx=90 km/h