The correct option is D Both statements together are sufficient, but neither statement alone is sufficient.
(1) ⇒ X's salary = 20% of Z's salary
(2) ⇒ Y'x salary = 45% of Z's salary
⇒X's salaryY's salary=2045=49
Hence, both the statements together are sufficient to answer the question.