I have got a question on the relation between [LaTeX ERROR: Convert failed] and [LaTeX ERROR: Convert failed]

The question consists of two parts:

The first pary asks me to solve the equation [LaTeX ERROR: Convert failed]

Then I 've got the correct ans, which is

[-1 + (1+a^2)^1/2]

_________________

a

or

[-1 - (1+a^2)^1/2]

_________________

a

Then the second part ask me to express [LaTeX ERROR: Convert failed] in terms of [LaTeX ERROR: Convert failed] and the ans is

[-1 + (1+ (tan 2 theta) ^2 )^1/2]

___________________________________

a

or

[-1 - (1+ (tan 2 theta) ^2 )^1/2]

___________________________________

a