\(x\ne2;7\Rightarrow\left\{{}\begin{matrix}\left(x+2\right)^2\ge0\\\left(x-2\right)^2>0\end{matrix}\right.\) \(\Leftrightarrow\left[\left(x-1\right).\left(x-7\right)\right]^3\left(x-6\right)\le0\)
\(\Leftrightarrow\left(x-1\right)\left(x-7\right)\left(x-6\right)\le0\)
x= 1;6;7
\(x\in\)(-vc;1]U[6;7)