Answer
Ranking: $\quad T_C\lt T_A\lt T_B \lt T_D$
Work Step by Step
Use $PV=nRT \quad (17- 5)$ to express $\displaystyle \mathrm{T}=\frac{PV}{nR}$
for each gas.
----
Gas A: $\displaystyle \mathrm{T}=\frac{PV}{nR}=\frac{(100\times 10^{3}\ \mathrm{P}\mathrm{a})(1\ \mathrm{m}^{3})}{(10\ \mathrm{m}\mathrm{o}\mathrm{l})(8.31\ \mathrm{J}/\mathrm{mol}/\mathrm{K})}=1200\mathrm{K}$,
Gas B: $\displaystyle \mathrm{T}=\frac{PV}{nR}=\frac{(200\times 10^{3}\ \mathrm{P}\mathrm{a})(2\ \mathrm{m}^{3})}{(20\ \mathrm{mol})(8.31\ \mathrm{J}/\mathrm{mol}/\mathrm{K})}=2400\mathrm{K}$
Gas C: $\displaystyle \mathrm{T}=\frac{PV}{nR}=\frac{(50\times 10^{3}\ \mathrm{P}\mathrm{a})(1\ \mathrm{m}^{3})}{(50\ \mathrm{mol})(8.31\ \mathrm{J}/\mathrm{m}\mathrm{o}\mathrm{l}/\mathrm{K})}=120\mathrm{K}$,
Gas D: $ T==\displaystyle \frac{(50\times 10^{3}\ \mathrm{P}\mathrm{a})(4\ \mathrm{m}^{3})}{(5\ \mathrm{mol})(8.31\ \mathrm{J}/\mathrm{mol}/\mathrm{K})}=4800\mathrm{K}$
Ranking: $C\lt A\lt B \lt D$