J.R. S. answered 12/20/20
Ph.D. University Professor with 10+ years Tutoring Experience
Magnesium bromide = MgBr2
[Br]- [Mg]2+ [Br]- since I can't easily draw Lewis structures, you just put 8 dots (electrons) around each Br and no dots around Mg
Rubidium phosphide = Rb3P
[Rb]+ [P]3- [Rb]+
..........[Rb]+
put 8 dots around the P and no dots around the Rb