A problem of factorization X^2-4

A problem of factorization X^2-4

x^2-4=x^2-2^2
Using the square difference formula A ^ 2-B ^ 2 = (a + b). (a-b), we get
Original formula = (x + 2) (X-2)