car and train acceleration
A car and a train move together along straight, parallel paths with the same constant cruising speed v_0. At t = 0 the car driver notices a red light ahead and slows down with constant acceleration - a_0. Just as the car comes to a full stop, the light immediately turns green, and the car then accelerates back to its original speed v_0 with constant acceleration a_0. During the same time interval, the train continues to travel at the constant speed v_0.
the question is:
The train does not stop at the stoplight. How far behind the train is the car when the car reaches its original speed v_0 again?
What I figured out so far is that the time the car takes to decelerate is t = -v / -a and the time it takes to reach back to its original velocity is t = v / a.