PersonX thanks PersonX's friend
to say bye to his friend to wave his hand toward his friend to return the favor to be helpful to them to repay the friend's kindness to tell others about the friend's benevolence