(4) 0.97 MPa
Let n1 and n2 be number of moles of gas in A and B. For mixture the number of moles, n, is
n = n1 + n2
From ideal gas equation n = pV/RT. At constant temperature
P(V1 + V2) = P1V1 + P2V2
where P is equilibrium pressure in both containers.