Solution of

2(sin^2theta - cos^2theta)=7sintheta costheta

recall the double-angle formulas, and you have

-2cos2θ = 7/2 sin2θ
tan2θ = -4/7
and so on ...