3x=2x+x
Applying tan on both sides
tan3x=tan(2x+x)
⇒tan3x=tan2x+tanx1−tan2xtanx
tan(A+B)=tanA+tanB1−tanAtanB
⇒tan3x(1−tan2xtanx)=tan2x+tanx
⇒tan3x−tan3xtan2xtanx=tan2x+tanx
⇒tan3x−tan2x−tanx=tan3xtan2xtanx
Hence proved.