(d) P is obtained by the combination of X and Y. Thus, it is a compound. X and Y cannot be broken into simpler substances. Thus, they are elements. As P is a compound, it has a fixed composition. https://www.tiwariacademy.com/ncert-solutions-class-9-science-curiosity-chapter-2/