I believe the correct answer would be barium. It is the element between the two that would lose one electron more easily. This is because it has a higher first ionization energy which means the that the probability of it existing as an ion would be higher than magnesium.