solve 2 tanx cosx - tanx = 0 over 0<x<2pi