To show that the total time, $T$, taken to test a car on a test track with a length of $\frac{2V^2(a+r)}{3ar}$ is $\frac{7V(a+r)}{6ar}$:-
In the acceleration phase, using $v^2 = u^2 + 2as$, where $u=0$ (as before), and $v=V$ (the max speed) and $s=l$ (the length of the track for the acceleration phase of the test), so we get $$V^2 = 2al$$ and so $$ l=\frac{V^2}{2a}$$
In the deceleration phase, using $v^2 = u^2 + 2as$, where $u=0$, $v=V$ and $s=L$ (the length of the track for the deceleration phase of the test), so we get $$V^2 = 2rL$$ and so $$ L=\frac{V^2}{2r}$$
Now using $s= ut +\frac{1}{2}at^2$, with $u=0$, we get $t_a=\frac{V}{a}$, for the acceleration phase and $t_r=\frac{V}{r}$, for the deceleration phase.
So the total time for these 2 phases is: $$ t_a + t_r = \frac{V}{a} + \frac{V}{r} = \frac{V(a+r)}{ar}$$
Now we also have a constant speed phase, which is after the acceleration phase and before the deceleration phase and is attained when the min distance of the track has been driven i.e. $\frac{V^2(a+r)}{2ar}$, so the constant speed phase of the test occurs at $(s - s_{min})$ (the total distance of the track minus the min distance). Using $s = ut +\frac{1}{2}at^2$, with $u=V$ and $a=0$, we have $$(s - s_{min})=Vt_c$$ so the time, $t_c$, for the constant speed phase of the test occurs at $$t_c=\frac{(s - s_{min})}{V} = \frac{2V(a+r)}{3ar} - \frac{V(a+r)}{2ar} = \frac{V(a+r)}{6ar}$$
Now, the total time $T$ is $$T = t_a + t_r + t_c = \frac{V(a+r)}{ar} + \frac{V(a+r)}{6ar} = \frac{7V(a+r)}{6ar}$$