Daniel B. answered 01/17/21
A retired computer professional to teach math, physics
You are absolutely right -- (v1+v2)/2 practically never gives you the average velocity.
And you are also right that we need to divide by time, not number of velocities.
It is not possible to calculate average velocity of v1 and v2 without knowing how long they applied.
This is one proper way:
Suppose you travel at velocity v1 for time t1,
then you travel at velocity v2 for time t2.
Then the average velocity is
(v1t1 + v2t2)/(t1 + t2)
In general, average velocity is always DISTANCE/TIME.
One must also be very careful when the travel is not in the same direction.
Then we must take into account that velocities are vectors and (v1t1 + v2t2) is vector addition.
As a simply example, suppose you drive at 55mph for some time, then you get out of your car and make a few steps at 5mph.
Nobody would say that your average speed was 30mph.
To calculate average speed you need to know how long you travelled at 55mph.