Magnesium combined with chlorine.
How?
Now come to metals side.
[tex]\\ \sf\longmapsto 1s^22s^22p^63s^23p^64s^1[/tex]
Hence it will contain +1 charge which is omitted directly .
Now come to option C.
[tex]\\ \sf\longmapsto 1s^22s^22p^63s^2[/tex]
Hence the compound formed is given by
[tex]\\ \sf\longmapsto MgCl_2[/tex]
Hence option C is correct.