Context Word: necessary steps. 
Question: It was easy for PersonX but not PersonY to pass the class because _ took all the necessary steps to study and complete assignments. 
Answer: PersonX
It was easy for PersonX but not PersonY to pass the class because _ did not take the necessary steps to study and complete assignments.