Bài 5:
a: \(=\left(x-2\right)\left(x+2\right)-3\left(x-2\right)\)
\(=\left(x-2\right)\left(x-1\right)\)
b: \(=\left(x-5\right)\left(x+5\right)-y\left(x-5\right)\)
\(=\left(x-5\right)\left(x-y+5\right)\)
c: \(=\left(x-2\right)\left(x^2+2x+4\right)+x\left(x-2\right)\)
\(=\left(x-2\right)\left(x^2+3x+4\right)\)
d: \(=\left(x+2\right)\left(x^2-2x+4\right)-4x\left(x+2\right)\)
\(=\left(x+2\right)\left(x^2-6x+4\right)\)