ideal gas equation
$$PV = nRT$$ eq(1)
where
$$P$$ = Pressure
$$V$$ = Volume
$$n$$ = number of moles
$$R$$ = universal gas constant
$$T$$ = Temperature
suppose initial values are $${P}_{1},{V}_{1},{n}_{1},{T}_{1}$$ and
final values are $${P}_{2},{V}_{2},{n}_{2},{T}_{2}$$
so
$${P}_{1}{V}_{1}={n}_{1}R{T}_{1}$$ eq(2)
$${P}_{2}{V}_{2}={n}_{2}R{T}_{2}$$ eq(3)
(a) At constant volume, the pressure is increased fourfold
$${V}_{2} = {V}_{1}$$
$${P}_{2} = 4 {P}_{1}$$
$${n}_{2} = {n}_{1}$$
$$\dfrac{eq(3)}{eq(2)}$$
$$\dfrac{{T}_{2}}{{T}_{1}} = 4$$
$${T}_{2} = 4 {T}_{1}$$
(b) At constant pressure, the volume is doubled
$${V}_{2} = 2 {V}_{1}$$
$${P}_{2} = {P}_{1}$$
$${n}_{2} = {n}_{1}$$
$$\dfrac{eq(3)}{eq(2)}$$
$$\dfrac{{T}_{2}}{{T}_{1}} = 2$$
$${T}_{2} = 2 {T}_{1}$$
(c) The volume is doubled and pressure halved.
$${V}_{2} = 2 {V}_{1}$$
$${P}_{2} =\dfrac{1}{2} {P}_{1}$$
$${n}_{2} = {n}_{1}$$
$$\dfrac{eq(3)}{eq(2)}$$
$$\dfrac{{T}_{2}}{{T}_{1}} = 1$$
$${T}_{2} = {T}_{1}$$
(d) If heated in a vessel open to atmosphere, onefourth of the gas escapes from the vessel.
for open vessel pressure and volume will be constant.
$${V}_{2} = {V}_{1}$$
$${P}_{2} = {P}_{1}$$
one-fourth of gas escaped from vessel, so three-fourth gas left
$${n}_{2} = \dfrac{3}{4}{n}_{1}$$
$$\dfrac{\dfrac{3}{4} {T}_{2}}{{T}_{1}} = 1$$
$${T}_{2} = \dfrac{4}{3}{T}_{1}$$
arranging final temperature in increasing order
(c),(d),(b),(a)