The reduction potential of a substance depends upon the ease with which an atom can release electrons. Or can loose electrons. Here in these examples Na readily looses electron , and it is the element which easily donates or releases electrons among all it can easily give electrons to reduce other atom. Mg comes on