please help!!!!!!!!!!! I don't understand this

Answer:
6.(C) Magnesium and fluorine
7.(A) Oppositely charged ions attract
8.(C) [tex]3[/tex]
9.(d) [tex]BaI_2[/tex]
Explanation:
6.An ionic bond is formed between a metal and a non metal.
Magnesium is a metal and fluorine is a non metal, so they form ionic bond.
7. Ionic compounds are electrically neutral as they consist of equal and opposite charges.
8. Nitrogen has [tex]5[/tex] electrons in outermost orbit , [tex]8[/tex] is required in the outermost orbit to gain the noble gas configuration.
Thus, [tex]8-5=3 \ needed[/tex]
9. An ionic compound has a metal and a non metal, out of those four options only barium(Ba) is the metal combined with a non metal iodine(I)
Thus [tex]BaI_2[/tex] best fits.
Thus those are the respective answers.