Let the total distance it covers be 2x
Time taken to cover the first half t1=x40
Time taken to cover the next half t2=x60
Total time taken = t1+t2
= x40+x60
= 100x2400
= x24
Average speed = total distancetotal time taken
= 2xx24
= 48xxm/s
= 48m/s