Step-by-step explanation:
The bonding in Magnesium Bromide is ionic bonding. Ionic bonding occurs between metals and non metals, due to the transfer of electrons.
Strontium Sulphide is also an ionic compound. The metal is Strontium and the non metal is sulphur.
In terms of electrons, it is similar to Magnesium bromide in the sense that the metal lost two electrons and the non metal gained two electrons which is the same as in Magnesium Bromide.