\(ĐK:x\ne-2\\ PT\Leftrightarrow\dfrac{\left(x+1\right)\left(x+2+2\right)}{x+2}=4\\ \Leftrightarrow\left(x+1\right)\left(x+4\right)=4\left(x+2\right)\\ \Leftrightarrow x^2+5x+4=4x+8\\ \Leftrightarrow x^2+x-4=0\\ \Leftrightarrow\left[{}\begin{matrix}x=\dfrac{-1+\sqrt{17}}{2}\\x=\dfrac{-1-\sqrt{17}}{2}\end{matrix}\right.\)