Here's why:
* Magnesium (Mg) is in group 2 of the periodic table, meaning it has a +2 charge as a cation.
* Tellurium (Te) is in group 16, meaning it has a -2 charge as an anion.
Since the charges balance out perfectly, the formula is simply MgTe.