When a metal X is treated with cold water, it gives a base Y with molecular formula XOH (Molecular mass = 40) and liberates a gas Z which easily catches ****. Identify X, Y and Z.
'x' is sodium, 'Y' is sodium hydroxide, 'Z' is H2(g).