![](https://search-static.byjusweb.com/question-images/byjus/infinitestudent-images/ckeditor_assets/pictures/508559/original_15an1.bmp)
The above structure is non-aromatic despite having 6 pi-electrons as it is non-planar because of the presence of one
sp3 hybridised C atom.
![](https://search-static.byjusweb.com/question-images/byjus/infinitestudent-images/ckeditor_assets/pictures/508560/original_15an2.bmp)
The above compound is aromatic as it is cyclic, planar, the electrons are delocalised and it has 6 pi-electrons.
![](https://search-static.byjusweb.com/question-images/byjus/infinitestudent-images/ckeditor_assets/pictures/508561/original_15an3.bmp)
The above structure is also aromatic as it has 2 pi-electrons.
![](https://search-static.byjusweb.com/question-images/byjus/infinitestudent-images/ckeditor_assets/pictures/508563/original_15an4.bmp)
The above compound is non-aromatic because of the presence of one C atom which is
sp3 hybridised which makes it non-planar.
![](https://search-static.byjusweb.com/question-images/byjus/infinitestudent-images/ckeditor_assets/pictures/508571/original_15an5.bmp)
The above species is stable because both the rings are aromatic in nature.
![](https://search-static.byjusweb.com/question-images/byjus/infinitestudent-images/ckeditor_assets/pictures/508573/original_15an6.bmp)
The above structure is anti-aromatic because the lone pair of electrons on nitrogen also delocalised into the ring, making the total number of pi-electrons to be 8.
![](https://search-static.byjusweb.com/question-images/byjus/infinitestudent-images/ckeditor_assets/pictures/508575/original_15an7.bmp)
Cyclooctatetraene is expected to be anti-aromatic, but it is actually non-aromatic because the ring becomes tub shaped and hence, the planarity is lost.
Total number of aromatic compounds = X = 3
Total number of non-aromatic compounds = Y = 3
X+Y=6