[tex]\begin{gathered} In\text{ the box,} \\ \text{Basketball}\Rightarrow5 \\ \text{softball}\Rightarrow9 \\ \text{Volleyball}\Rightarrow12 \\ \text{Soccer}\Rightarrow23 \\ \text{Ratio of Vollyball to basketballs is as} \\ \frac{\text{Volleyball}}{\text{basketball}}=\frac{12}{5} \\ So,\text{ the option d is correct.} \end{gathered}[/tex]