H is the father of F; F is the sister of D; D is the wife of Y. How is H related to Y?
Rule: start from Y and follow the relations one at a time.
D is Y's wife → F is D's sister → H is F's father.
So H is Y's wife's sister's father, i.e. Y's father-in-law.
Answer: Father-in-law