Logic Tip: By observing ratios, you can solve this mentally. The pressure ratio $P_2/P_1$ is $9/15 = 3/5$. The mole ratio $n_2/n_1$ is $12/18 = 2/3$. Since $T \propto P/n$, the new temperature is $T_2 = T_1 \times \frac{3/5}{2/3} = 300 \times \frac{9}{10} = 270\text{ K}$.