Let the volume of the smaller vessel be V. The larger vessel has double this volume, so its volume is 2V.
Initial data
Large vessel : P1=8 kPa,T1=1000 K,V1=2V
Small vessel : P2=7 kPa,T2=500 K,V2=V
Using the ideal-gas equation PV=nRT, the initial number of moles in each vessel is
n1i=RT1P1V1=R×10008×2V=1000R16V=0.016RV
n2i=RT2P2V2=R×5007×V=500R7V=0.014RV
Total moles before connection
ntotal=n1i+n2i=0.016RV+0.014RV=0.030RV
After connecting the vessels, both are maintained at a common temperature Tf=600 K. At steady state the common pressure is Pf.
Moles in the large vessel at this stage:
n1f=RTfPfV1=R×600Pf×2V=300RPfV
Moles in the small vessel:
n2f=RTfPfV2=R×600Pf×V=600RPfV
Total moles remain unchanged, so
n1f+n2f=ntotal
300RPfV+600RPfV=0.030RV
Combine the terms on the left:
PfV(3001+6001)/R=PfV(6002+1)/R=200RPfV
Equate this to the right side and solve for Pf:
200RPfV=0.030RV⟹Pf=0.030×200=6 kPa
Hence the common steady-state pressure in both vessels is 6 kPa.
Option B is correct.