12.5 g of impure limestone are treated with excess dilute hydrochloric acid. The gas evolved is completely dissolved in a concentrated solution of sodium hydroxide. It was found that the mass of sodium hydroxide solution has increased by 5.1g after absorption.
(a) Write an equation for the reaction between limestone and hydrochloric acid.
(b) Calculate the percentage purity of the limestone.