After analyzing the given information, we can tabulate. X lives in the Blue house.
- X, Y, Z, and Q live in the Blue, Green, Yellow, and Red houses.
- The green house is adjacent to the blue house, and the yellow house is in between the green and red house.
Therefore, the correct answer is (D), i.e., None of these.