Total distance travelled is the area under the graph (in this case we need to find the area of a trapezium).