Answer: MgCl2
Explanation:
There will be two Chlorine atoms, and one Magnesium atom. The Mg atom will transfer one valence electron to each Chlorine atom to make them stable. I don't know the reaction that happens, I'm Sorryy. But yeah... have a nice day! :)