We know tanx is periodic with period π. So, to check the solution on the interval (−2π​,2π​).It is clear from figure, tanx<2 when; −2π​or−2π​⇒ General solution 2nπ−2π​