tan(x)=2 gives you enough info to complete the right triangle in quadrant I. Put another way, the tangent is a ratio of two sides of the triangle, so you can use the Pythagorean Theorem to get the 3rd side. Now you just have to plug in the right values into the half angle formula.