$$3 \tanh^{2}{\left(1 - 3 x \right)} - 3$$
/ 2 \
-18*\-1 + tanh (-1 + 3*x)/*tanh(-1 + 3*x)
$$- 18 \left(\tanh^{2}{\left(3 x - 1 \right)} - 1\right) \tanh{\left(3 x - 1 \right)}$$
/ 2 \ / 2 \
54*\-1 + tanh (-1 + 3*x)/*\-1 + 3*tanh (-1 + 3*x)/
$$54 \left(\tanh^{2}{\left(3 x - 1 \right)} - 1\right) \left(3 \tanh^{2}{\left(3 x - 1 \right)} - 1\right)$$