Mg + Br₂ = MgBr₂
Mg + Br₂ = Mg²⁺ + 2Br⁻
MgBr₂ + Cl₂ = MgCl₂ + Br₂
Mg²⁺ + 2Br⁻ + Cl₂ = Mg²⁺ + 2Cl⁻ + Br₂
2Br⁻ + Cl₂ = 2Cl⁻ + Br₂
MgCl₂ + 2AgNO₃ = Mg(NO₃)₂ + 2AgCl↓
Mg²⁺ + 2Cl⁻ + 2Ag⁺ + 2NO₃⁻ = Mg²⁺ + 2NO₃⁻ + AgCl
2Cl⁻ + 2Ag⁺ = AgCl
Mg(NO₃)₂ + 2NaOH = 2NaNO₃ + Mg(OH)₂↓
Mg²⁺ + 2NO₃⁻ + 2Na⁺ + 2OH⁻ = 2Na⁺ + 2NO₃⁻ + Mg(OH)₂
Mg²⁺ + 2OH⁻ = Mg(OH)₂