Concept:Hardness of water is caused by dissolved calcium and magnesium ions.Explanation:These ions react with soap to form an insoluble scum, reducing lathering.Among the given options, Mg2+ is the hardness-causing ion.Ca2+ also causes hardness, but it is not listed in the options.Na+, CO32−, and OH− do not contribute to water hardness.Hence, the ion that causes hardness is Mg2+.Answer:B. Mg2+