1) 234 s, 6.18 km
The position of the car at time t is described as

where
is the velocity of the car
The position of the head of the train instead is given by

where
d = 1.30 km is the initial distance between the car and the head of the train
is the velocity of the train
The car overtakes the train when

Substituting and solving for t,

And the distance travelled by the car is

2) 27.5 s, 0.72 km
In this case, the train is travelling in opposite direction, so we can write

Again, we can use the same equation as before

And solving for t, we find

And the distance travelled by the car is
