Trains $\text{A}$ and $\text{B}$ start traveling at the same time towards each other with constant speeds from stations $\text{X}$ and $\text{Y}$, respectively. Train $\text{A}$ reaches station $\text{Y}$ in $10$ minutes while train $\text{B}$ takes $9$ minutes to reach station $\text{X}$ after meeting train $\text{A}$. Then the total time taken, in minutes, by train $\text{B}$ to travel from station $\text{Y}$ to station $\text{X}$ is
- $12$
- $6$
- $15$
- $10$