Answer: D
Scum with CaX2+ and cloudiness in acid (free fatty acid formed) are the signature of a carboxylate soap. A clear solution in acid and no scum in hard water indicate an anion of a strong acid, such as an alkyl sulphate or sulphonate. So W is a soap and X is a synthetic detergent.