I would split it up into two parts and set up a system of equations and find solve for the intersection of the two lines for each part.
You know enough to set up the third equation, s = ut + 1/2at^2, so it has 2 variables.
s=20t+1.75(t^2)-10 for the car. The 10 is there because its 10 behind the truck.
s=20t for the truck
Solve algebraically or plug into a graphing calculator to find the intersection between the two graphs. The ordered pair should tell you the time and distance until the front of the car is even with the back of the truck.
For the second half, use a similar method.
The distance the car needs to travel farther than the truck is 34m. (20m+10m+4m)
s=ut+1.75(t^2) For the car. You need to find the velocity of the car at the end of part 1 (v=u+at) using the t-value you got in the first part.
s=20t For the truck.
You need to find a spot on the car's graph 34m above the truck's graph.
I'm not entirely sure on this part and how to explain it, though. I'm pretty tired and I'm not sure if I did that right (I probably didn't). I don't have my calculator handy so I can't check it.
Add the answers from part 1 to part 2 to get the total time and distance.
PS. I'm sorry if my methods seem a little convoluted and hard to follow. I usually make up my own methods as I go along, taking an indirect route to the answer, so its kinda hard to explain to others. :beard:
I can't think any more tonight. I'll try to pick up where I left off in the morning. If anyone else has an easier method, then just ignore mine.