Answer:

Step-by-step explanation:
First of all, let's remember that the kinetic energy K of a gas is directly proportional to its absolute temperature T:

and the kinetic energy can be rewritten as

where m is the mass of the particles in the gas and
is the rms speed. So, we have
(1)
which means that the rms speed is proportional to the square of the temperature of the gas.
So we need to find how the temperature of the gas changes. This can be done by using the ideal gas law:

where p is the gas pressure, V the volume, n the number of moles and R the gas constant.
In this problem, we have:
Gas A and Gas B have same pressure:

While sample B has twice the volume of sample A:

The two samples have same density, and since they are made of the same gas, the number of moles will also be the same:

So, the temperature of gas B will be

So, the temperature of gas B is twice that of gas A; as a result, the rms speed of the molecules in gas B will be

so it will be
times the rms speed of the molecules in gas A.