Answer:
10 electrons
Step-by-step explanation:
The easiest way to do this is to simply look at the periodic table, find the atomic number of magnesium, and subtract 2 from it. The reason this works is that the atomic number tells you how many protons an element has. If we want the element to be neutral, then by definition it will have the same number of electrons.