The gas is in a rigid container: this means that its volume remains constant. Therefore, we can use Gay-Lussac law, which states that for a gas at constant volume, the pressure is directly proportional to the temperature. The law can be written as follows:
[tex]\frac{P_1}{T_1} = \frac{P_2}{T_2}[/tex]
Where P1=5 atm is the initial pressure, T1=254.5 K is the initial temperature, P2 is the new pressure and T2=101.8 K is the new temperature. Re-arranging the equation and using the data of the problem, we can find P2:
[tex]P_2 = T_2 \frac{P_1}{T_1}=(101.8 K) \frac{5 atm}{254.5 K}=2 atm[/tex]
So, the new pressure is 2 atm.