How to graph and solve this equation? I'am trying to solve this equation.
\begin{equation}
x^{8}+(x+2)^{8}=2
\end{equation}
What I tried:
\begin{equation}g(x)=x^{8}+(x+2)^{8}\end{equation}
\begin{equation}
\begin{array}{l}
\text {  }\\
y=x+1
\end{array}
\end{equation}
\begin{equation}
(y+1)^{8}+(y-1)^{8}=2
\end{equation}
\begin{equation}
(y+1)^{8}=y^{8}+a_{7} y^{7}+a_{6} y^{6}+\cdots+a_{1} y+1
\end{equation}
\begin{equation}
(y-1)^{8}=y^{8}-a_{7} y^{7}+a_{6} y^{6}+\cdots-a_{1} y+1
\end{equation}
\begin{equation}
\begin{array}{l}
2\left(y^{8}+a_{6} y^{6}+a_{4} y^{4}+a_{2} y^{2}+1\right)=2 \Leftrightarrow \\
y^{8}+a_{6} y^{6}+a_{4} y^{4}+a_{2} y^{2}=0 \Leftrightarrow y^{2}=0 \Leftrightarrow y=0
\end{array}
\end{equation}
y=0, x= -1
Maybe there is another way of solving this...

I encourage you to keep working on your solution using derivatives. However, solving this equation does not need derivatives. Here I write a hint and if you need more help I'll give you another one!
Hint1:

 Rearrange the equation: $(x+2)^8 - 1 = 1 - x^8$

Edit: Ah! Now that you posted your work I see you don't need help. That is a good solution. Well done!
Now, here is an alternative solution. Not as nice and concise as yours, but still might be a good exercise. Like you, I too felt more comfortable with the variable change $y = x + 1$ . In fact this would be the hint number two! We have:
$$(y+1)^8 - 1^8 = 1^8 - (y-1)^8$$
$$[(y+1)^4+1][(y+1)^2+1](y+2)y = [1+(y-1)^4][1+(y-1)^2]y(2-y)$$
Clearly, one answer is $y=0$, which means $x=-1$ .
Below, we show that the equation does not have any other real answers. Assuming that $y \ne 0$ we can divide both sides by $y$ :
$$[(y+1)^4+1][(y+1)^2+1](y+2) = [1+(y-1)^4][1+(y-1)^2](2-y)$$
Without any more factorisation, we can find several useful things in the above equation:
Firstly, we can see that if $y>2$ or $y<-2$ then the two sides of the equation have different signs. Therefore the equation does not have any solutions in those value ranges.
Secondly, at $y=2$ and at $y=-2$ one side of the equation becomes zero while the other side is nonzero. So these two are not solutions of the equation either.
Finally, for $-2 < y < 2$ where both sides are positive, we can see that if $y > 0$ then each term of the left hand side is greater than its corresponding term in the right hand side (therefore left hand side $ > $ right hand side); and if $y < 0$ then each term of the left hand side is less than its corresponding term in the right hand side (therefore left hand side $ < $ right hand side). Either way, the two sides cannot be equal.
So we are left with the only case that $y=0$.
