\(a,\left(x+2\right)^{10}+\left(x+2\right)^8=0\\ \Leftrightarrow\left(x+2\right)^8\left[\left(x+2\right)^2+1\right]=0\\ \Leftrightarrow\left[{}\begin{matrix}\left(x+2\right)^8=0\\\left(x+2\right)^2+1=0\end{matrix}\right.\\ \Leftrightarrow\left[{}\begin{matrix}x+2=0\\\left(x+2\right)^2=-1\end{matrix}\right.\\ \Leftrightarrow\left[{}\begin{matrix}x=-2\\x\in\varnothing\end{matrix}\right.\\ b,\left(x+3\right)^{10}-\left(x+3\right)^8=0\\ \Leftrightarrow\left(x+3\right)^8\left[\left(x+3\right)^2-1\right]=0\\ \Leftrightarrow\left[{}\begin{matrix}\left(x+3\right)^8=0\\\left(x+3\right)^2-1=0\end{matrix}\right.\\ \Leftrightarrow\left[{}\begin{matrix}x+3=0\\\left(x+3\right)^2=1\end{matrix}\right.\\ \Leftrightarrow\left[{}\begin{matrix}x=-3\\x+3=1\\x+3=-1\end{matrix}\right.\)
\(\Leftrightarrow\left[{}\begin{matrix}x=-3\\x=-2\\x=-4\end{matrix}\right.\)