First decompose it into (x+2)(x-2), then divide it and calculate it.
(x^2+4x+4)/((x+2)(x-2))-(x(x+2))/((x+2)(x-2))
=(2x+4)/((x+2)(x-2))
=2/(x-2)