how to do average speed
The average speed of an object is the total distance traveled by the object divided by the elapsed time to cover that distance. It's a scalar quantity which means it is defined only by magnitude. A related concept, average velocity, is a vector quantity. A vector quantity is defined by magnitude and direction.