As P=31VmNvrms2...(i)
where m is the mass of each molecule, N is the total number of molecules, V is the volume of the gas.
When mass of all the molecules is halved and their speed is doubled, then the pressure will be P′=31(2m)×VN×(2vrms)2 =32VmNvrms2=2P (Using (i))