Using Magnesium(Mg) as an example,explain how electron configurations can be used to predict the ionisation energy trends for first, second and subsequent ionisation energies