Verified Answer :

Hagrid

The chemical reaction for Mg + NaOH isĀ 

Mg (s) + NaOH (aq) -> Mg (OH)2 (s) + Na (aq)
s stands for solid, aq stands for aqueous