A vehicle travels half the distance l with speed v1 and the other half with speed v2, then its average speed is [NCERT Exemplar]
Time taken to travel first half distance,
Time taken to travel second half distance,
Total tIme
We know that, vav = Average speed