Context Word: avoiding. 
Question: PersonX had an easier time avoiding pornography than PersonY because _ was able to resist temptation. 
Answer: PersonX
PersonX had an easier time avoiding pornography than PersonY because _ wasn't able to resist temptation.