Find the remainder when x4+x3−2x2+x+1 is divided by x−1
When x4+x3−2x2+x+1 is divided by x-1, the remainder is 2 and the quotient is q(x). Find q(x).