D is the sister of J; J is the brother of P; P is the wife of K. How is D related to K?
Rule: start from K and follow the relations one at a time.
P is K's wife → J is P's brother → D is J's sister.
So D is K's wife's brother's sister, i.e. K's sister-in-law.
Answer: Sister-in-law