The only daughter of Y's father is Y's sister (assuming Y is male). X's wife is Y's sister, so X is Y's brother-in-law.
Note: None of the given options (Brother, Uncle, Husband, Father-in-law) exactly match brother-in-law; we have selected the closest option.