Explanation : In all other option except D, Z is not staying in south-west wing. Since Z believe in vastu, he can stay in Any of the south-west wings but not in any other wing.
In option (D) X is away from the garden as well as Y is away from the washroom.
So, option (D) is correct.