Context Word: window. 
Question: PersonX could not afford to replace the windows of his house like PersonY recently had, because _ was poor. 
Answer: PersonX
PersonX could not afford to replace the windows of his house like PersonY recently had, because _ was wealthy.