a)
\(x^2-4x-y^2+4\\ =\left(x^2-4x+4\right)-y^2\\ =\left(x-2\right)^2-y^2\\ =\left(x-2-y\right)\left(x-2+y\right)\)
b)
\(x^2+5x-2x-10\\ =x\left(x+5\right)-2\left(x+5\right)\\ =\left(x+5\right)\left(x-2\right)\)
\(a,x^2-4x-y^2+4\\ =\left(x^2-4x+4\right)-y^2\\ =\left(x-2\right)^2-y^2\\ =\left(x-2-y\right)\left(x-2+y\right)\\ b,x^2+3x-10\\ =x^2+5x-2x-10\\ =x\left(x+5\right)-2\left(x+5\right)\\ =\left(x-2\right)\left(x+5\right)\)
`x^2 - 4x-y^2 + 4`
`=(x^2 - 4x +4)-y^2`
`=(x-2)^2 -y^2`
`=(x-2+y).(x-2+y)`
________________
`x^2 +3x - 10`
`=x^2 + 5x -2x - 10`
`=(x^2 + 5x)-(2x+10)`
`=x.(x+5) - 2.(x+5)`
`=(x+5).(x-2)`


