Kinematics problem

At the instant the traffic light turns green, a car that has been waiting at an intersection starts ahead with a constant acceleration of 3.40m/s^2 . At the same instant a truck, traveling with a constant speed of 17.5m/s , overtakes and passes the car.

What do you think should be done? How would you go about solving the problem? HAve you any attempt made?

There is no specific time given, so i tried to use the formula v^2f = v^2i + 2a(xf-xi).
But for the car, I can't solve for the final velocity since I don't have the final position x so I don't know how to go about solving this.