Câu a,b hình như nhầm đề mình tự sửa nha ;-;
a, Ta có : \(\left(x^2-x-6\right)^2+\left(x-3\right)^2\)
\(=\left(x^2-3x+2x-6\right)^2+\left(x-3\right)^2\)
\(=\left(x-3\right)^2\left(x+2\right)^2+\left(x-3\right)^2\)
\(=\left(x-3\right)^2\left(\left(x+2\right)^2+1\right)\)
b, Ta có : \(\left(x^2-x-20\right)^2+\left(x+4\right)^2\)
\(=\left(x^2+4x-5x-20\right)^2+\left(x+4\right)^2\)
\(=\left(x+4\right)^2\left(x-5\right)^2+\left(x+4\right)^2\)
\(=\left(x+4\right)^2\left(\left(x-5\right)^2+1\right)\)