Context Word: behaved. 
Question: PersonX was a poorly behaved child while PersonY followed the rules, so _ was always in trouble. 
Answer: PersonX
PersonX was a poorly behaved child while PersonY followed the rules, so _ was always being praised.