First calculate the number of moles (amount of gas) by using ideal gas equation, temperature can be calculated using internal energy and n. after calculating temperature pressure (P2 ) can be calculated using following equation.

We have, = CV = CP -R = 2.5 R -R = 1.5 R
The amount of the gas (in moles) is n = PV/RT

As the gas is kept in a closed vessel, its volume is constant, Thus, we have

The final temperature is 300 K + 377 K = 677K.
