Câu trả lời:
a)\(x^3+4x-5=x^3-x^2+x^2-x+5x-5=\left(x^2+x+5\right)\left(x-1\right)\)
b) \(x^4+2x^3+5x^2+4x-12=x^4-x^3+3x^3-3x^2+8x^2-8x+12x-12=\left(x^3+3x^2+8x+12\right)\left(x-1\right)\left(x^3+2x^2+x^2+2x+6x+12\right)=\left(x-1\right)\left(x^2+x+6\right)\left(x+2\right)\)