I can't understand this. Can you please make a clearer explanation?

I can't understand this. Can you please make a clearer explanation?

Write $y=x^{x^{x^{\cdot^{\cdot^{\cdot}}}}}$. Then
$$y = x^{x^{x^{\cdot^{\cdot^{\cdot}}}}} = x^{(x^{x^{x^{\cdot^{\cdot^{\cdot}}}}})} = x^y$$
The book is saying that if $x^{x^{x^{\cdot^{\cdot^{\cdot}}}}}=2$ then we can stick $y=2$ into the above, giving $2=x^2$, and hence $x=\sqrt{2}$. And likewise, if $y=4$ then $4=x^4$, so again $x=\sqrt{2}$.
(In fact, as I'm sure the book goes on to say, the value of $x^{x^{x^{\cdot^{\cdot^{\cdot}}}}}$ when $x=\sqrt{2}$ is in fact $2$ and not $4$.)