Step 1: Set up the electron configurations.
The three ions come from Ce (Z = 58), Eu (Z = 63), and Lu (Z = 71). The key property is how many 4f electrons each ion has, because that decides whether the ion is magnetic and how it behaves chemically. So we write the f-electron count for each possible ion.
Step 2: Work out $\text{Ce}^{4+}$.
Cerium losing four electrons reaches $\text{Ce}^{4+}$, which has an empty 4f shell ($4f^0$). With no unpaired electrons it is diamagnetic, and the empty stable shell makes it a good oxidising ion. So whichever entry in the table is diamagnetic and oxidising must be $\text{Ce}^{4+}$.
Step 3: Work out $\text{Lu}^{3+}$.
Lutetium as $\text{Lu}^{3+}$ has a completely full 4f shell ($4f^{14}$). A full shell also means no unpaired electrons, so it too is diamagnetic, but it is chemically very stable and not an oxidiser. So the diamagnetic but stable, ordinary $+3$ entry is $\text{Lu}^{3+}$.
Step 4: Work out $\text{Eu}^{2+}$.
Europium as $\text{Eu}^{2+}$ has a half filled 4f shell ($4f^7$). Seven unpaired electrons make it strongly paramagnetic, and the $+2$ state makes it a reducing ion. So the paramagnetic, reducing entry must be $\text{Eu}^{2+}$.
Step 5: Match X, Y, Z to the table.
Reading the properties in the table in order, the first ion matches the stable diamagnetic $+3$ behaviour (Lu), the second matches the diamagnetic oxidising behaviour (Ce), and the third matches the paramagnetic reducing behaviour (Eu).
Step 6: State the answer.
So X, Y, Z line up as lutetium(III), cerium(IV), and europium(II) respectively.
\[ \boxed{\text{X} = \text{Lu}^{3+},\ \text{Y} = \text{Ce}^{4+},\ \text{Z} = \text{Eu}^{2+}} \]