đk: \(x,y\ne-2\)
\(hpt\Leftrightarrow\left\{{}\begin{matrix}\dfrac{x}{x+2}+\dfrac{y}{x+2}=1\\\left(\dfrac{x}{y+2}\right)^2+\left(\dfrac{y}{x+2}\right)^2=1\end{matrix}\right.\)
Đặt \(\left\{{}\begin{matrix}a=\dfrac{x}{y+2}\\b=\dfrac{y}{x+2}\end{matrix}\right.\)\(\Rightarrow\left\{{}\begin{matrix}\dfrac{x}{y+2}+\dfrac{y}{x+2}=1\\\left(\dfrac{x}{y+2}\right)^2+\left(\dfrac{y}{x+2}\right)^2=1\end{matrix}\right.\)
\(\Leftrightarrow\left\{{}\begin{matrix}a+b=1\\a^2+b^2=1\end{matrix}\right.\)
\(\Leftrightarrow\left\{{}\begin{matrix}b=1-a\\a^2+\left(1-a\right)^2=1\end{matrix}\right.\)
\(\left[{}\begin{matrix}\left\{{}\begin{matrix}a=0\\b=1\end{matrix}\right.\Rightarrow\left\{{}\begin{matrix}x=2\\y=0\end{matrix}\right.\\\left\{{}\begin{matrix}a=1\\b=0\end{matrix}\right.\Rightarrow\left\{{}\begin{matrix}x=0\\y=2\end{matrix}\right.\end{matrix}\right.\)