Write the balanced equation for the following reaction and add the state symbols.
(a) Magnesium, carbonate reacts with hydrochloric acid to produce magnesium chloride, carbon dioxide and water.
(b) Sodium hydroxide reacts with sulphuric acid to produced sodium sulphate and water.