Answer:
D. It will lose two electrons in order to become stable
Step-by-step explanation:
Magnesium has two electrons in its valence shell and since it needs to acquire am correct shell, it's easier and faster to lose two electrons than gain six more electrons. Magnesium needs to lose electrons during chemical reaction for bonding to take place while forming an intermediate Mg²+ ion.
NB: all elements of group 2 elements lose their two valence electrons in their outer shell to form chemical bond during chemical reactions