Let the one-way distance be d miles. The times are 6d and 3d, so the total time is 6d+62d=63d=2d for a total distance of 2d.
average speed=d/22d=4 mph
The distance cancels, and the average falls below the mean of 4.5 because more time is spent walking at 3 mph.