Đặt \(x+y=a\) ; \(\sqrt{x+1}=b\)
Ta được hpt sau:
\(\left\{{}\begin{matrix}2a+b=4\\a-3b=-5\end{matrix}\right.\)
\(\Rightarrow\left\{{}\begin{matrix}a=1\\b=2\end{matrix}\right.\)
\(\Rightarrow\sqrt{x+1}=2\)
\(\Leftrightarrow x=3\)
\(\Rightarrow y=-2\)