g of g(x) = 1/ sqrt( sqrt( 1 / x+2) +2 )

which could simpify to

4throot(x+2)/ sqrt(3) if you combine the bottom into one function.

What i'm interested in is where the sqrt(3) as a denominator came from, and what happened to the two 1 values, did they cancel out.