x
tan (2)*(pi*I + log(-tan(2)))
$$\left(\log{\left(- \tan{\left(2 \right)} \right)} + i \pi\right) \tan^{x}{\left(2 \right)}$$
2 x
(pi*I + log(-tan(2))) *tan (2)
$$\left(\log{\left(- \tan{\left(2 \right)} \right)} + i \pi\right)^{2} \tan^{x}{\left(2 \right)}$$
3 x
(pi*I + log(-tan(2))) *tan (2)
$$\left(\log{\left(- \tan{\left(2 \right)} \right)} + i \pi\right)^{3} \tan^{x}{\left(2 \right)}$$