The correct answer is D.
In the given question, $ means father, # means sister, * means daughter, and @ means brother.
In option A, Q is the father of R, who is the sister of T, who is the brother of M. This is not possible, as a person cannot be the father, sister, and brother of the same person.
In option B, Q is the father of R, who is the brother of T, who is the sister of M. This is also not possible, as a person cannot be the father and brother of the same person.
In option C, Q is the father of R, who is the daughter of T, who is the sister of M. This is not possible, as a person cannot be the father and daughter of the same person.
In option D, Q is the father of R, who is the husband of T, who is the wife of M. This is possible, as a person can be the father and husband of the same person. Therefore, the correct answer is D.