The position is plotted here in red and the instantaneous velocity in green. As you can see, the intantaneous velocity is sometimes positive and sometimes negative indicating that the motion along the straight line occasionally doubles back on itself.