PDF chapter test TRY NOW

Iqbal treated a lustrous, divalent element M with sodium hydroxide. He observed the formation of bubbles in the reaction mixture. He made the same observations when this element was treated with hydrochloric acid. Suggest how can he identify the produced gas. Write chemical equations for both reactions.
 
\(M + NaOH →X + H_2(g)\)
 
Where, X is

\(M + HCl → Y + H_2(g)\)
 
Where, Y is
Place a burning candle near the gas. The gas is hydrogen and the element is metal if it burns with a .