To a good enough approximation for our present purpose, moist air is simply a mixture of water vapor and dry air (consisting itself of fixed proportion of all other atmospheric gases, including carbon dioxide). The molar ratio of those two components is very nearly equal to the ratio of thei...