Context Word: Communicate. 
Question: PersonX was better able to communicate their ideas to the group than PersonY, because _ was confident. 
Answer: PersonX
PersonX was better able to communicate their ideas to the group than PersonY, because _ was shy.