I can only repeat what it wrote two posts earlier. Purity is
[tex]\frac {\text{mass of the substance}} {\text{mass of the sample}} 100\%[/tex]
Knowing how much CaCO3 was present in the initial sample, and knowing the reaction equation, you can calculate how much CaO will be present in the final sample. But not knowing how the impurities behave you can't predict the final sample mass (unless you assume it doesn't decompose on roasting, which can be, but doesn't have to be, true).