\(x^2+x-2=0\Leftrightarrow x^2+2x-x-2=0\)
\(\Leftrightarrow x\left(x-1\right)+2\left(x-1\right)=0\Leftrightarrow\left(x+2\right)\left(x-1\right)=0\Leftrightarrow x=-2;x=1\)
\(3x^2+2x-1=0\Leftrightarrow3x^2+3x-x-1=0\)
\(\Leftrightarrow3x\left(x+1\right)-\left(x+1\right)=0\Leftrightarrow\left(3x-1\right)\left(x+1\right)=0\Leftrightarrow x=\dfrac{1}{3};x=-1\)