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)​