First convert Temperatures to Kelvin scale
Now
USING GAY LUSSAC's Law
[tex]\\ \sf\longmapsto P_1T_2=P_2T_1[/tex]
[tex]\\ \sf\longmapsto P_2=\dfrac{P_1T_2}{T_1}[/tex]
[tex]\\ \sf\longmapsto P_2=\dfrac{2.5(298)}{25}[/tex]
[tex]\\ \sf\longmapsto P_2=\dfrac{795}{25}[/tex]
[tex]\\ \sf\longmapsto P_2=31.8atm[/tex]