How do you find the remainder when x^3-7x^2+14x-8 is divided by x+1?