Let the substance be p
CaOH + p = CaCO3
following the laws of chemical reactions and law of conservation of mass, p will be 1 atom of carbon dioxide and 2 atoms of oxygen. Thus, the p will be CO2.
Thus, CaOH + CO2 = CaCO3
Please note that during this process, water will also be produced.