A an B are married couple. X and Y are brothers. X is the brother of A.
How is Y related to B ?

Answer: A. Brother-in-law

A and B are husband and wife. Since X and Y are brothers, and X is the brother of A, Y is also the brother of A.
Thus, Y is the brother-in-law of B.
Hence, the answer is (a).