\(\Leftrightarrow x^2+y^2+1+2x+2y+2xy=3\left(x^2+y^2+1\right)\)
\(\Leftrightarrow2x^2+2y^2+2-2x-2y-2xy=0\)
\(\Leftrightarrow\left(x^2-2x+1\right)+\left(y^2-2y+1\right)+\left(x^2+y^2-2xy\right)=0\)
\(\Leftrightarrow\left(x-1\right)^2+\left(y-1\right)^2+\left(x-y\right)^2=0\)
\(\Leftrightarrow x=y=1\)