A group of researchers finds that a metal P,
used in making cans and thin foil, reacts with dilute hydrochloric acid to form a salt along with the evolution of a gas G, which burns with a pop sound. Further research on P concluded that its oxide X reacts with acids and bases as well. Identify the metal P, the gas G, and the oxide X.