find the quadratic factor by the method of comparing coefficients for g(x) = x^3 - 2x^2 - 5x + 6. i already found out that the linear factor is (x+2) if that helps.

i know how to figure it out using long division

but not by this method

so could anyone help me? thanks :]