A metal (M) produces a gas (N) on reaction with alkalis like NaOH and KOH. Same gas is produced when the metals react with dilute sulphuric acid. Gas (N) reacts with another toxic gas (P) to form methanol at high temperature and pressure. (N) also reacts with metals like (Q) to form electrovalent hydrides. M, N, P and Q respectively are