Dunno what range you want, but from 0<=x<=2pi,
tan3x = tanx
tan(2x + x) = tanx
(tan2x + tanx)/(1-tanxtan2x) = tanx
tan2x + tanx = tanx - tan2xtan2x
tan2x = - tan2xtan2x
tan2xtan2x + tan2x = 0
tan2x(tan2x + 1) = 0
tan2x = 0, tan2x = -1 (no solution for this part)
2x = 0, pi, 2pi, 3pi, 4pi (0 <= x <= 4pi)
x = 0, pi/2, pi, 3pi/2, 2pi
but function is undefined at (pi/2, 3pi/2)
so x = 0, pi, 2pi