Dear student
average velocity is just displacement / time
it does not effected if body moves with non uniform rate as displacement is the final position vector - initial position vector which is independent of type of motion perform either uniform or non uniform