Q is the son of R but R is not the mother. So, R is the father of Q. P is married to R. So, P is the wife of R and the mother of Q. X is the daughter of P and hence of R and so she is the sister of Q. Y is the brother of R and Z is the brother of P.
X is the sister of Q who is a male. So, Q is brother of X.