X is the mother of Y. Z is the father of Y. How is Z related to X?

Answer: B. Husband
Z is the father of Y, and X is the mother of Y, which means Z is the husband of X.