At initial stage:
Pressure of gas = Pressure of Hg + Pressure of atmospheric air
=76+76=152 cm
T=300 K
V=V1/2 where, V1 is volume of cylinder.
At final state after heating:
Pressure of gas = Pressure of Hg+ Pressure of atmospheric air
=38+76=114 cm
V=3V14
Applying gas equation, we have
152×V12×300=144×(3V1/4)T
T=114×3×2×3004×152
=337.5 K