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