How do you solve #tan^2x+4=2sec^2x+tanx# in the interval [0,360]?