Here are the answers to the questions:
(a) (i) Sodium hydroxide
(ii) Saponification
(iii) Potassium chloride is added to neutralize any excess hydroxide ions produced during the reaction which could otherwise cause soap to decompose.
(b) (i) X is an acid, Y is an alkali
(ii) Limescale
(iii) Calcium ions present in hard water react with soap to form insoluble calcium salts and water, causing a scum.
(iv) One disadvantage of using agent X is that it could damage fabrics if used in excess.
(c) (i) Ammonia
(ii) N2 +