How find gcd polynomials? How to find gcd of polynomials $gcd(x^3+x^2-x-1,3x^2+2x-1)$ ??
I divide of polynomials. It worked like this $\frac 13 x - \frac19$,$ R\left( x\right) =-\frac89x -\frac89$

HINT:
If $f(x)$ divides both,
$f(x)$ must divide $$3(x^3+x^2-x-1)-x(3x^2+2x-1)=x^2-2x-3=(x-3)(x+1)$$
Now $3x^2+2x-1=(3x-1)(x+1)$
OR 

$x^3+x^2-x-1=(x+1)(x^2-1)=(x+1)^2(x-1)$
and
 $3x^2+2x-1=(3x-1)(x+1)$
