By inspection, we can see that x = ±√2, since (±√2)⁴ = 2² = 4.
In particular, if [tex]x^n=n[/tex], which means [tex]x=n^{\frac1n}[/tex], then [tex]x^{x^n}=x^n=n[/tex].
Let x = √2. Then
[tex]x^{x^2}+x^{x^8}=(\sqrt2)^{(\sqrt2)^2}+(\sqrt2)^{(\sqrt2)^8}[/tex]
[tex]x^{x^2}+x^{x^8}=(\sqrt2)^2+(\sqrt2)^{16}[/tex]
[tex]x^{x^2}+x^{x^8}=2+256[/tex]
[tex]x^{x^2}+x^{x^8}=\boxed{258}[/tex]