Question: what ion does aluminum form?
Answer: Aluminum is in the fifth column and therefore has 5 electrons in its outermost shell. It would tend to lose three electrons and form a +3 ion. Magnesium is in the second column and therefore has 2 electrons in its outermost shell.