A sample of hard water contains mol L⁻¹ of ions and mol L⁻¹ of ions; its only anions are and . (Hypothetical data.) The water is passed first through column X and then through column Y, each packed with an ion-exchange resin, as shown in the figure.

A student tests the water at points 1, 2 and 3:
| Point | pH | Shaken with soap solution |
|---|---|---|
| 1 | 7.0 | scum forms, little lather |
| 2 | 2.5 | not tested |
| 3 | 7.0 | good lather |
(a) Identify the type of resin in column X and in column Y, giving the ion each one releases into the water.
(b) Write equations, using R for the resin framework, for the exchange of ions in X and of and ions in Y, and for the reaction that brings the pH back to 7.
(c) Show by calculation that a pH of about 2.5 at point 2 is what you would expect.
(d) How is each column regenerated when it is exhausted?
