How to write any binary ionic formula: find the charges, balance them, and check the criss-cross shortcut (Mg₂O₂ → MgO).