Solution: a)
It is formed when magnesium ribbon is burned in oxygen with the emission of light and heat energy that magnesium oxide is formed.
X is a compound with the chemical formula MgO. After being placed in a nitrogen gas chamber for a period of time, magnesium reacts with the nitrogen to form magnesium nitride.
2Mg + O₂ →2MgO
Compound X→ MgO [ Magnesium Oxide ]
Compound Y →Mg₃N₂ [ Magnesium Nitride ]
b) If Magnesium Oxide is dissolved in water, the product is Magnesium Hydroxide
MgO + H₂O → Mg(OH)₂