In a family, there are three generations: X is the grandfather of Y, and Y is the father of Z. If W is the sister of Y, how is W related to X?

Answer: B. Granddaughter
W is the daughter of Y, who is the son of X, making W the granddaughter of X.