There are some missing signs. I'm guessing that you mean (x^2-4)/(x^2+4x+4) where both numerator and denominator can be factored as
(x+2)(x-2)/((x+2)(x+2)) which simplifies to (x-2)/(x+2)