Electrons have less mass than a neutron.
A Bronsted-Lowry acid is a chemical species that donates one or more hydrogen ions in a reaction. In contrast, a Bronsted-Lowry base accepts hydrogen ions. When it donates its proton, the acid becomes its conjugate base. A more general look at the theory is as an acid as a proton donor and a base as a proton acceptor. :)
Pure magnesium's formula would just be Mg because all elements except for 7 nonmetals are just left alone when they are by themselves in a formula. The 7 diatomic elements( means they have to have two of them without another element attached to it aka. a subscript two after it when it's by itself) are hydrogen, nitrogen, oxygen, fluorine, chlorine, bromine, and iodine. An easy way to remember the diatomic seven is that when looking at a periodic table if you trace over them from nitrogen over to fluorine and down to iodine all of those elements are diatomic + hydrogen.
And your unbalanced and balanced equations are correct.
(sorry I went on a tangent with the diatomic rules hopefully it will help you in the future though)