ta có pt
<=> \(2\left(2x+1\right)\sqrt{x+8}=4x^2+4x+1+x+8-x^2+2x-1\)
\(\Leftrightarrow2\left(2x+1\right)\sqrt{x+8}=\left(2x+1\right)^2+x+8-\left(x-1\right)^2\)
\(\Leftrightarrow\left(2x+1\right)^2-2\left(2x+1\right)\sqrt{x+8}+x+8-\left(x-1\right)^2=0\)
\(\Leftrightarrow\left(2x+1-\sqrt{x+8}\right)^2-\left(x-1\right)^2=0\)
\(\Leftrightarrow\left(2x+1-\sqrt{x+8}+x-1\right)\left(2x+1-\sqrt{x+8}-x+1\right)=0\)
\(\Leftrightarrow\left(3x-\sqrt{x+8}\right)\left(x+2-\sqrt{x+8}\right)=0\)
đến đây thì dễ rồi nhé