We know that
At time t = 0, car 1 passes mile marker 0 traveling due east with a speed of 20.0m/s. INITIAL SPEED OF CAR 1.
At the same time car 2 is 1 km east of mile marker 0 traveling at 30.0m/s due west. INITIAL SPEED OF CAR 2.
Car 1 acceleration is 2.5 m/s^2.
Car 2 acceleration is 3.2 m/s^2.
Let's create a diagram to visualize the problem.
Given that they are accelerated, we use the following formula.
[tex]x=v_0t+\frac{1}{2}at^2[/tex]Let's use the magnitudes for each car to find their equations.
Note that the initial speed and acceleration are negative because car 2 is heading West. Also, observe that the initial position of car 2 is 1 km, that is, 1000 meters.
Now let's combine the equations to find t.
[tex]\begin{gathered} 20t+1.25t^2=1000-30t-1.6t^2 \\ 1.25t^2+1.6t^2+20t+30t-1000=0 \\ 2.85t^2+50t-1000=0 \end{gathered}[/tex]Using a calculator, we have the following solutions.
[tex]\begin{gathered} t_1=11.9\sec \\ t_2=-29.5\sec \end{gathered}[/tex]We take the positive solution because time can't be negative.