Context Word: compliment. 
Question: PersonX showed that he is receptive to the compliment through his body language to PersonY when _ was told something nice by him. 
Answer: PersonX
PersonX showed that he is receptive to the compliment through his body language to PersonY when _ said something nice to him.