Answer
In Magnesium, an electron is removed from the 2s subshell while in Al an electron is removed from the 2p subshell. The 2p subshell is slightly less bound to the nucleus as compared to the 2s subshell, hence less energy is required to remove an electron from the 2p subshell.
Work Step by Step
As above