2tanx +tanx-tan^3x = 3tanx - tan^3 x = tanx(3 - tan^2 x)
You can ask a new question or answer this question.