acceleration of car
Let be the time (in seconds) when the car overtakes the truck.
Total distance travelled by car at T seconds = area under graph =
( is the velocity of car at T seconds, it is obtained in the same way as we calculated v.)
Total distance travelled by truck at T seconds =
Equating the two distances will lead to a quadratic equation
Solving that gives or (rejected as car only starts at t=5)