Let the total distance to be covered be \( D \).
Let the speeds of each mode of transport be:
Since time is given by:
\[ \text{Time} = \frac{\text{Distance}}{\text{Speed}} \]
The time taken by each mode is:
\[ \frac{D}{5x} : \frac{D}{3x} : \frac{D}{8x} \]
Canceling \( D/x \) from all terms:
\[ \frac{1}{5} : \frac{1}{3} : \frac{1}{8} \]
Find the LCM of denominators \( 5, 3, 8 \), which is 120. Multiply each fraction by 120:
Thus, the correct ratio of times is 24:40:15 (Option D).