How do you find solutions of the equation in the interval #[0,2pi]# for #tan2x=tanx#?