Calculating average speed
Average speed = (distance covered during some period of time) divided by (length of time to cover that distance).