solution only please and no shinanigans

I only know the answer but not the solution of the rational expression

rational expression
[tex] \frac{{x}^{3} + 8 }{ {x}^{2} + 4x + 4 } [/tex]
answer
[tex] \frac{ {x}^{2} - 2x + 4 }{x + 4} [/tex]
(only need the solution of this and if the answer is wrong I will report you)​


Sagot :

Step-by-step explanation:

Factor the numerator and the denominator

[tex] \frac{(x+2)(x^{2} −2x+4)}{(x + 2)(x + 2)} [/tex]

Then cancel out (x+2) from the numerator and denominator

[tex] \frac{(x^{2} −2x+4)}{(x + 2)}[/tex]