Compute all parts of given question:
Question: Car A is driving along a straight horizontal highway at 15m/s. When it passes Car B at 5 seconds, which is stationary at that instant, the driver of Car B begins to accelerate from 0 to 20 m/s in 10 seconds (begins at 5 seconds where it was passed by car A and reaches 20 m/s at the 15 second mark) in pursuit of the other vehicle.
Part A: At what time in seconds does Car B pass Car A?
Part B: Which car is ahead at t=30seconds, and what is the distance between the two cars?
If possible just a brief explanation how you got the answer?