2 answers
(click or scroll down)
convert to moles
write the equation, which will tell you how many moles of HCl you will get for each mole of CO2
Then convert that quantity back to grams.