Which of the following diagrams correctly represents the formation of a compound consisting of magnesium and fluorine?