Context Word: trained. 
Question: PersonX's dog is being trained by PersonY to behave better, so _ is very appreciative of the training. 
Answer: PersonX
PersonX's dog is being trained by PersonY to behave better, so _ is very diligent at the training.