Antiderivative and acceleration question

At the instant the traffic light turns green, an automobile that has been waiting at an intersection starts moving forward with a constant acceleration of 6 feet per second squared. At the same instant, a truck traveling with a constant velocity of 30 feet per second overtakes and passes the car. How far beyond its starting point will the automobile overtake the truck?

I'm so lost, any help would be appreciated!

EDIT: Sorry this is my first time posting, and I did not realise I should show work. I also do not know how to write in math text. All I know is that the integral of acceleration in equal to velocity, and the integral of velocity is equal to position. I still do not know how to approach this problem, however.