Note that (this is something I've filed away from seeing it in a lot of "verify this trig identity" type problems) . So your equation can be written , or
Now that everything is in terms of tangent, you should be able to get it into the form of an equation that's quadratic in (i.e., has multiples of , and a number) and solve; the values of tanx are nice integers, although you will need inverse trig to get one of the x-values.