Context Word: biological. 
Question: PersonX wasn't the biological parent of PersonY and _ was hopeful they would get full custody from the real parents. 
Answer: PersonX
PersonX wasn't the biological parent of PersonY and _ was pessimistic they would get full custody from the real parents.