A body travelling along a straight line traversed one third of the total distance with a velocity 4 m/s. The remaining part of the distance was covered with a velocity 2 m/s for half the time and with velocity 6 m/s for the other half of time. The mean velocity averaged over the whole time of motion is