At any rate, use the identity tan^1+1 = sec^2 to reduce everything to a polynomial in cos(x). Solve for cos(x) and then for the values of x.
You can ask a new question or answer this question.