There was a super easy way to do that one: let theta = arccos(x)
cos(theta)=x
draw a right angle triangle with theta as the angle, x as adjacent, 1 as hypotenuse and sqrt(1-x^2) as opposite
then tan(arccos(x)) = tan(theta) = opposite over adjacent = sqrt(1-x^2)/x