To calculate the average speed you must: