MgCl42- - Tetrachloro magnesium dianion

Mg has 2 valence electrons plus 1 for each Mg-Cl single bond and 2 for the charge
Total = 8 electrons, four pairs
Structure tetrahedral, class AX4
Point group Td