resultant (x3−x2+3x−1, x3+2)