Context Word: his best. 
Question: PersonX decided to try his best in the competition while PersonY quitted. _ is an optimist. 
Answer: PersonX
PersonX decided to try his best in the competition while PersonY quitted. _ is an pessimist.