The correct option is B Na+
Mg2+ has the larger hydration energy, because hydration energy increases with the charge on the cation and decreases as the size of the cation increases. Therefore, answer is Na+.
Theory:
Hydration energy:
Hydration enthalpies of alkaline earth metal ions decrease with increase in ionic size
Be2+>Mg2+>Ca2+>Sr2+>Ba2+
Compounds of alkaline earth metals are more extensively hydrated than those of alkali metals.
e.g., MgCl2 and CaCl2 exist as MgCl2.6H2O and CaCl2.6H2O
NaCl and KCl do not form such hydrates.