First, we assume that the gases here are ideal and that the reaction is done at STP so that 22.4 L of the gas is equal to 1 mol. We use the reaction and the relation of the substances to calculate what is asked.
44.8 L (1 mol / 22.4 L) (1 mol CO2 / 2 mol SO2) (44.01 g / mol) = 44.01 g CO2