predict how the following pairs of atoms will combine by writing the formulas for the resultign compounds

Mg and Cl

MgCl2