Toluene would be a suitable example of X and nitrobenzene for Y. In toluene, the methyl group CH bond can participate in hyperconjugation with the pi system of benzene ring. Nitrobenzene exhibit resonance due to the interaction of the lone pair on the oxygen atom of the nitrogroup with the pi electrons of the benzene ring.