what is shorthanded configuration of Mg

and Cl

Mg ion +2

Cl ion - 1
so I suspect
MgCl2