PDF chapter test TRY NOW

When a metal ‘X’ is treated with cold water, It gives base salt ‘X’ with molecular formula \(XOH\) (Molecular mass = \(40\) and liberate a gas Z which easily catches fire. Identify X, Y and Z and also write the reaction involved.
 
X is
Y is
Z is