Expansion of a gas problem explanation