Four metals are coded W, X, Y and Z.
- W does not react with cold or hot water but reacts with steam. Its oxide dissolves in dilute hydrochloric acid but not in sodium hydroxide solution.
- X is found in nature as the free metal.
- Y forms an oxide that cannot be reduced by carbon at any temperature.
- Z reacts violently with cold water, and the hydrogen given off catches fire.
Which pairing of metals with methods of obtaining them is correct for both metals named?

