
Average velocity of car is:
vavg=Total timeTotal displacement
As the car is travelling along a straight line without turning, the magnitude of total displacement is same as the distance covered.
The time taken to cover the first half is v1x and the time taken to cover the second half is v2x
∴vavg=v1x+v2x2x
⇒vavg=v1x+v2x2x(v1v2)=v1+v22v1v2