i) The electron arrangement in a magnesium atom is like 2, 8, 2.
ii) The electron arrangement in a chlorine atom is like 2, 8, 7.