Context Word: exam. 
Question: So _ was quite worried about the exam that's coming because PersonX forgot to study and PersonY didn't. 
Answer: PersonX
So _ was quite confident about the exam that's coming because PersonX forgot to study and PersonY didn't.