Context Word: habits. 
Question: Developing good study habits came easier to PersonX than PersonY because _ had a lot of self discipline. 
Answer: PersonX
Developing good study habits came easier to PersonX than PersonY because _ did not have a lot of self discipline.