For t = 0 to 2:
For t = 2 to 7:
For t = 7 to 8:
(The velocity is negative, since the particle is going in the opposite direction.)