A and B are a married couple. X and Y are brothers. X is the brother of A. How is Y related to B?
X and Y are brothers, and X is the brother of A, so Y is also A's brother.
A and B are a married couple, so A's brother Y is B's brother-in-law.
Answer: Brother-in-law