The correct option is D (X) is paramagnetic with three unpaired electrons and (Y) is diamagnetic.
The complexes X and Y are [Co(SCN)4]2− and [Ni(dmg)2] . The central metal ions in these complexes undergo sp3 and dsp2 hybridization respectively. They contain 3 and 0 unpaired electrons respectively. hence they are paramagnetic and diamagentic respectively.