Magnesium ions form ionic bonds with Fluoride ions in a 1:2 ratio. Explain how electrons are transferred between atoms and how the ionic bonds form in this compound