\(x^2-2xy+y^2-4\)
\(=\left(x-y\right)^2-2^2\)
\(=\left(x-y-2\right)\left(x-y+2\right)\)
\(x^2-2xy+y^2-4\)
\(=\left(x-y\right)^2-2^2\)
\(=\left(x-y-2\right)\left(x-y+2\right)\)
\(x^2-2xy+y^2-4\)
\(=\left(x^2-2xy+y^2\right)-4\)
\(=\left(x-y\right)^2-2^2\)
\(=\left(x-y+2\right)\left(x-y-2\right)\)