Answer:
Species X and Z belongs to the same kingdom.
Step-by-step explanation:
Classification of living organisms:
Domain>Kingdom>Phylum/Division (Plants)>Class>Order>Family>Genus>Species
If Y and Z belong to the same kingdom, then Z must belong to the same domain as Y. And if Y belongs to the same domain as X, then Z must surely belong to the same domain as X.