2^x + 2^(-x) = 6 rewrite as
2^x + 1 / [2^x) = 6 multiply through by 2^x
[2^x][2^x] + 1 = 6[2^x] subtract 6[2^x] from both sides
[2^x]^2 -+ 1 - 6[2^x] = 0 let 2^x = a ..... and we have.....
a^2 + 1 - 6a = 0 rearrange
a^2 - 6a + 1 = 0
Using the quadratic formula to solve for a, we have .......a = 3-2 sqrt(2) or a = 3 + 2sqrt(2)
Thus a = 2^x
And we have that
2^x = 3 - sqrt(2) take the log of both sides
log2^x = log [3 -2 sqrt(2) ] and by a log property, we can write
x*log(2) = log[ 3 - 2sqrt(2)] divide both sides by log(2)
x = log[3 - 2sqrt(2)] / log(2) = about -2.5431
In similar fashion, x also equals.....
log[ 3 + 2sqrt(2)] / log(2) = about 2.5431
Here's a graph of both sides of this strange equation with the intersection points being the solutions.....
https://www.desmos.com/calculator/uomirk7pas