The correct option is D I2(Na)>I2(Mg)
Ionisation Potential is the energy required to pull out an electron from a given atom.
Na has one electron in the outermost shell, it's first ionization energy would be the energy required to pull out this electron. Its second ionization energy would be the energy required to pull out the second electron from a complete shell.
Mg has two electrons in the outermost shell. Its first and second ionization energy would be the energy required to pull out these electrons.
Since we are pulling out the 2nd electron in Na from a very stabilized Na+, we will require a lot of energy. On the other hand, Mg will give up two electrons very easily. So Mg's I2 would be very less as compared to I2 of Na.