Context Word: behavior. 
Question: The dog of PersonX's behavior was a lot worse than that of PersonY's, because _ dog was disobedient. 
Answer: PersonX
The dog of PersonX's behavior was a lot worse than that of PersonY's, because _ dog was obedient.