1 kg of air, initially at 5 bars and 350 K, and 3 kg of CO2, initially at 2 bars and 450 K, are confined to opposite sides of a rigid, well insulated container. The ideal gases are separated by a partition, which is free to move and allows heat transfer across it, but can store no energy. Determine the final equilibrium temperature and pressure, assuming constant specific heats.