Answer:
Option B
Explanation:
Let the speeds of the two trains be $x$ m/sec and $y$ m/sec respectively. Then, length of the first train $=27x$ meters, and length of
the second train $=17y$ meters.
$\therefore \frac{27x+17y}{x+y}=23$
$\Leftrightarrow$ $27x+17y$ $=23x+23y$
$\Leftrightarrow 4x=6y$ $\Leftrightarrow\frac{x}{y}=\frac{3}{2}$.
So, the ratio of their speeds = 3:2.