Context Word: ticks. 
Question: The dog belonging to PersonX had ticks but that belonging to PersonY did not as _ was very slapdash. 
Answer: PersonX
The dog belonging to PersonX had ticks but that belonging to PersonY did not as _ was very conscientious.