PolynomialQuotientRemainder[x^3-12 x^2-42,x-3,x]