Answer: C
In X the nitrogen lone pair is conjugated with the ring. In Y the two ortho methyl groups clash with the N-methyl groups, forcing the NMeX2 group out of the ring plane, so the lone pair is localised and more available for protonation (steric inhibition of resonance). Hence Y is the stronger base.