You need to find the exact distance, so a Riemann sum isn't exactly needed but can be used.
The sum-free way to do this is to integrate
over
, assuming a starting position of
.
The question says to use a graph (which isn't given), but the idea would have been to find the area under the curve
, which would be a triangle whose area would be easy to find.