In this problem there are two tanks connected by a valve, one containing 6L CH4 with a pressure of 21atm and the second containing 15L CO at pressureof 7.0atm. These gases are ideal. I have to find the total pressure of the system. I know the pressures will be equal in both tanks when the gases expand, but is there a way to show this mathematically?