The value of is
The partition is frictionless and moves slowly, so both gases have the same pressure at every stage. The right gas receives no heat, so it is compressed adiabatically with .
Right side, from to :
Left side: the volume is at the same pressure , so with ,
The work done by the left gas equals the work done on the right gas, so the heat supplied ends up as the internal energy gained by both gases:
Hence, the correct option is (B).
Tagged Ideal gas equation and gas laws. Machine-assigned, so read it as a strong shortlist rather than a verdict.