Answer:[tex]\frac{D_A}{v_B-v_A}[/tex]
Explanation:
Given
car A had a head start of [tex]D_A[/tex]
and it starts at x=0 and t=0
Car B has to travel a distance of [tex]D_A and d_a[/tex]
where [tex]d_a[/tex] is the distance travel by car A in time t
distance travel by car A is
[tex]d_a=v_A\times t[/tex]
For car B with speed [tex]v_B[/tex]
[tex]d_B=D_A+d_a[/tex]
[tex]v_B\times t=D_A+v_A\times t[/tex]
[tex]t=\frac{D_A}{v_B-v_A}[/tex]