(X^3+2x-x-2)/(x+2)=?

Answer:
[tex](A)\:x^{2} -1[/tex]
Step-by-step explanation:
[tex](x^{3} +2x^{2} -x-2)\div(x+2[/tex]
Factor expressions that haven't been factored yet.
[tex]\longmapsto[/tex] [tex]\frac{(x-1)(x+1)(x+2)}{x+2}[/tex]
Cancel out x+2 in both numerator and denominator.
[tex]\longmapsto[/tex] [tex](x-1)(x+1)[/tex]
Apply Difference of Two Squares Formula: [tex]\left(a+b\right)\left(a-b\right)=a^2-b^2[/tex]
[tex]\longmapsto[/tex] [tex]\left(x+1\right)\left(x-1\right)=x^2-1^2[/tex]
[tex]\longmapsto[/tex] [tex]1^2=1[/tex]
[tex]\longmapsto[/tex] [tex]x^2-1[/tex]
__________________________