Bài 2 :
a, \(x^2-8x=x\left(x-8\right)\)
b, \(x^2-xy-6x+6y=x\left(x-y\right)-6\left(x-y\right)=\left(x-6\right)\left(x-y\right)\)
c, \(x^2-6x+9-y^2=\left(x-3\right)^2-y^2=\left(x-3-y\right)\left(x-3+y\right)\)
d, \(x^3+y^3+2x+2y=\left(x+y\right)\left(x^2-xy+y^2\right)+2\left(x+y\right)=\left(x+y\right)\left(x^2-xy+y^2+2\right)\)
a. x2 - 8x
= x(x - 8)
b. x2 - xy - 6x + 6y
= x(x - y) - 6(x + y)
= (x - 6)(x - y)