simplify by removing the factors of 1 p^2-4/(p+2)^2

(p^2-4) / (p+2)^2.

(p+2)(p-2) / (p+2)^2,
divide the numerator and denominator by
(p+2):
(p-2) / (p+2).