15
12
6
10
Let the speed of train \(A = a\)
and the speed of train \(B = b\)
Then,
\(\frac xa=\frac {D-x}{b}\)
Given,
\(\frac Da=10\) and \(\frac xb=9\)
\(\frac {x}{\frac {D}{10}}=\frac{D-x}{\frac x9}\)
\(\frac {10x}{D}= \frac {9D-9x}{x}\)
\(10x^2= 9D^2-9Dx\)
\(10x^2+9Dx-9D^2=0\)
On solving,
\(x=\frac {3D}{5}\)
\(\frac xb=9\)
\(\frac {3D}{b \times 5}=9\)
\(\frac Db=15\)
Total time taken by train B from station Y to station X = 15 min.
So, the correct option is (A): 15