Magnesium (atomic number 12) will ________ electron to form ________ to attain the nearest noble gas configuration.