Science P6 NHPS 2018 SA1 Q08

The diagrams below show the stomata and lungs.What is the similarity between structure X and Y?