Question 361765
The relationship is basically like this:

Let's say the time passed for a certain time: "t"

The car from A point will travel a distance = x1 = 15*t

The car from B point will travel a distance = x2 = 5*t + (1/2)*1*(t^2)
u*t is the distance gained by initial velocity and (1/2)*a*t^2 is the distance gained by acceleration.