<|system|>
Solve  \[\frac{x^2+2x+3}{x+4}=x+5\]for $x$.</s>.
<|user|>
Can you answer based on context?
<|assistant|>
Cross-multiplication gives  \[x^2+2x+3=(x+4)(x+5)=x^2+9x+20.\]Therefore \[0=7x+17\]and $x=-\frac{17}7$.