50.0 grams of calcium carbonate is added to hydrochloric acid and decomposes to carbon dioxide, water, and calcium chloride. What is the percent yield of calcium chloride if 5.9 liters of carbon dioxide gas is formed at STP?

CaCO3 + 2HCl → CO2 + H2O + CaCl2

so now, figure how many moles of CaCO3 you use.
You expect that many moles of CO2.
each mole occupies 22.4L, so you ended up with 0.263 moles of CO2.
so divide what you got by what you expected, times 100%