A car moves from X to Y with a uniform speed vu and returns to X with a uniform speed vd. The average speed for this round trip is
vuvd
vdvuvd+vu
vu+vd2
2vdvuvd+vu
Average speed=total distance travelledtotal time taken
=s+st1+t2=2ssvu+svd=2vuvdvd+vu