\(\Leftrightarrow x^2+x-2-1=y\left(x-1\right)+2y^2\left(x-1\right)\)
\(\Leftrightarrow\left(x-1\right)\left(x+2\right)-1=\left(x-1\right)\left(2y^2+y\right)\)
\(\Leftrightarrow\left(x-1\right)\left(x+2-2y^2-y\right)=1\)
TH1: \(\left\{{}\begin{matrix}x-1=1\\x+2-2y^2-y=1\end{matrix}\right.\) \(\Rightarrow\left\{{}\begin{matrix}x=2\\y=1\end{matrix}\right.\)
TH2: \(\left\{{}\begin{matrix}x-1=-1\\x+2-2y^2-y=-1\end{matrix}\right.\) \(\Rightarrow\left\{{}\begin{matrix}x=0\\y=1\end{matrix}\right.\)