The partial pressure of a gaseous component A in a mixture is: PA = nART/V

To be twice that of component B, PB = nBRT/V, is required that nA= 2nB.