M $ N means M is the brother of N;
M @ N means M is the wife of N;
M # N means M is the daughter of N;
M * N means M is the father of N.
Which of the following indicates that U is the father-in-law of P?
P @ Q $ T # U * W
P @ Q → P is the wife of Q. ...(1)
Q $ T → Q is the brother of T. ...(2)
T # U → T is the daughter of U.
Hence, Q is the son of U. ...(3)
U * W→ U is the father of W.
From (1) and (3), U is the father-in-law of P.