#tanx-√3cotx+1=√3#
#=>tanx-sqrt3/tanx+1=sqrt3#
#=>tan^2x-sqrt3+tanx=sqrt3tanx#
#=>tan^2x+tanx-sqrt3tanx-sqrt3=0#
#=>tanx(tanx+1)-sqrt3(tanx+1)=0#
#=>(tanx+1)(tanx-sqrt3)=0#
When
#tanx+1=0#
#=>tanx=-1=tan(-pi/4)#
#=>x=npi-pi/4" where " n in ZZ#
when
#tanx-sqrt3=0#
#=>tanx=sqrt3=tan(pi/3)#
#=>x=kpi+pi/3" where " k in ZZ#