Solution :
The distance between the starting point and the end point, [tex]L_0[/tex] = 10 light years
But due to the relativistic motion of Bob and Charlie, the distance will be reduced following the Lorentz contraction. The contracted length will be different since they are moving with different speeds.
For Bob,
Speed of Bob's rocket with respect to Alice, [tex]L_b = 0.7 \ c[/tex]
So the distance appeared to Bob due to the length contraction,
[tex]$L_b=L_0\sqrt{1-\frac{V_b^2}{c^2}$[/tex]
[tex]$L_b=10\times \sqrt{1-0.49} \ Ly$[/tex]
[tex]$=7.1 \ Ly$[/tex]
Therefore, the time required to finish the race by Bob is
[tex]$t_b = \frac{L_b}{V_b}$[/tex]
[tex]$=\frac{7.1 \ c}{0.7 \ c}$[/tex]
= 10.143 year
For Charlie,
Speed of Charlie's rocket with respect to Alice, [tex]L_c = 0.866 \ c[/tex]
So the distance appeared to Charlie due to the length contraction,
[tex]$L_b=L_0\sqrt{1-\frac{V_c^2}{c^2}$[/tex]
[tex]$L_b=10\times \sqrt{1-0.75} \ Ly$[/tex]
[tex]$=5 \ Ly$[/tex]
The time required to finish the race by Charlie is
[tex]$t_b = \frac{L_c}{V_c}$[/tex]
[tex]$=\frac{5 \ c}{0.866 \ c}$[/tex]
= 5.77 year