Divide (x^3+10x^2+13x+39)/(x^2+2x+1)