Đk: x+2y và x+y+1 khác 0
Từ pt (1) \(\Rightarrow\)\(\left(x+y+1\right)^2+\left(x+2y\right)^2=2\left(x+2y\right)\left(x+y+1\right)\)
\(\Leftrightarrow\left(x+y+1\right)^2-2\left(x+y+1\right)\left(x+2y\right)+\left(x+2y\right)^2=0\)
\(\Leftrightarrow\left(x+y+1-2y-x\right)^2=0\)
\(\Leftrightarrow\left(1-y\right)^2=0\)
\(\Leftrightarrow1=y\)
Từ pt (2) \(\Rightarrow x=\dfrac{4-y}{3}=\dfrac{4-1}{3}=1\) (thỏa mãn)
Vậy (x;y)=(1;1)