The correct option is B Ca(OH)2
The reason for temporary hardness is the presence of bicarbonates of Ca and Mg in water.
To remove this temporary hardness, we have to use the agents that can precipitate out the bicarbonates in an easy-to-filter-out form.
Ca(HCO3)2 + Ca(OH)2⟶2CaCO3↓+2H2O