The correct option is D IINa>IIMg
Electronic configuratin of Na = 1s22s22p63s1
Electronic configuratin of Mg = 1s22s22p63s2
Ist Ionization energy of sodium will be less than magnesium.
As we move across the period, the number of valence electrons in an atom increases and also nuclear charge increases which tend to decrease the radius and ionization energy increases.
When an electron is removed from Na, it acquires noble gas configuration which is more stable and removing electron requires more energy.
∴ IINa>IIMg