Question: what ions are present in magnesium oxide?
Answer: this is two positive charges and two negative charges. the charges are balanced. so the formula is MgO.