We will have the following:
a) The displacement of the ride between 16 seconds and 24 seconds will be:
So, the displacement is -9 meters.
b) The distance traveled by the ride between 16 seconds and 24 seconds is:
So, the distance traveled was 22 meters.