The following qualitative plots depict the first, second and third ionization energies (I.E.) of Mg, Al and K. Among the following, the correct match of I.E. and the metal is

From the NSE 2019 · NSEC · Chemistry paper. Try it, check your answer, then read the worked solution below.
The following qualitative plots depict the first, second and third ionization energies (I.E.) of Mg, Al and K. Among the following, the correct match of I.E. and the metal is

Try it yourself first, then check your working against this.
Worked solution
Look for the big jump in each curve.
X-Mg, Y-K, Z-Al.
(C)
Concepts used: successive ionisation energies
Every past question tagged to the same part of the syllabus, with solutions.
Past questions on the same topic (Ionisation enthalpy), each with a worked solution.
Timed, in the real format, and marked the moment you submit.