\
The gas law is for ideal gas at absolute temperature is
.
Here number moles of gas
mol, gas constant
, Pressure
atm.
Rate of increase of pressure is
.
Rate of decrease of volume is
.
Rearranging the gas law as
\
Differentiate on each side with respect to
.

Substitute the corresponding values in above equation.
\
\
The rate of increase in temperature
.