If A={x ∈ R:|x|<2} and B={x ∈ R:|x−2|≥3} then :
If dividend = x4+x3−2x2+x+1 and divisor = (x−1), find the quotient, q(x) and remainder r(x).