At a given temperature and pressure, a gas X diffuses twice as fast as gas…