Using partial information to factor $x^6+3x^5+5x^4+10x^3+13x^2+4x+1.$ $$\frac{x^9+6x^6+31x^3-1}{x^3-3x^2+4x-1}$$