Looking good!

now, let (so what you are looking for is and -- since )

thus we can draw a right-triangle, with an acute angle , where the opposite side is of length 1 and the adjacent side is of length 3, since this is how we define the tangent ratio. By Pythagoras' theorem, the hypotenuse is

Now, recall that and

i leave it to you to finish up