Answer
quotient $x^2+3x+1$, remainder $r(x)=0$
Work Step by Step
Step 1. Using long division as shown in the figure, we can obtain $\frac{x^3+5x^2+7x+2}{x+2}=x^2+3x+1+\frac{0}{x+2}$
Step 2. We can identify the quotient as $x^2+3x+1$ and the remainder as $r(x)=0$