x = arctan(sqrt(2) - 1) = very hard
The problem is that disgusting square root of 2..
I have an idea, let's eliminate that square root by first isolating it and then squaring both sides!
(root2) = tanx + 1 (isolate root2)
2 = (tanx)^2 + 2tanx + 1 (squaring both sides)
(tanx)^2 + 2tanx - 1 = 0 (re-arrange)
Then solve quadratic