Density is mass per unit volume,
Let me take two gases of unit volume, having different densities,
The gas which has less density has less mass,
The gas which has more density has more mass,
when these gas molecules hit the wall, because of change in momentum pressure will be...