// / x\ \ // / 2 \ \
|| x*|-1 - -| | || | x 4*x| |
|| \ 3/ |x| | || x*|1 + -- + ---| |
|| ----------- for --- < 1| || \ 9 3 / |x| |
|| 3 3 | ||------------------------- for --- < 1|
|| / x\ | || 2 / 2\ 3 |
|| 3*|-1 + -| | || / x\ | 2*x x | |
|| \ 3/ | ||3*|1 - -| *|1 - --- + --| |
|< | + |< \ 3/ \ 3 9 / |
|| oo | || |
|| ___ | || oo |
|| \ ` | || ___ |
|| \ -n 2 n | || \ ` |
|| / 3 *n *x otherwise | || \ -n 3 n |
|| /__, | || / 3 *n *x otherwise |
||n = 1 | || /__, |
\\ / \\ n = 1 /
$$\begin{cases} \frac{x \left(- \frac{x}{3} - 1\right)}{3 \left(\frac{x}{3} - 1\right)^{3}} & \text{for}\: \frac{\left|{x}\right|}{3} < 1 \\\sum_{n=1}^{\infty} 3^{- n} n^{2} x^{n} & \text{otherwise} \end{cases} + \begin{cases} \frac{x \left(\frac{x^{2}}{9} + \frac{4 x}{3} + 1\right)}{3 \left(1 - \frac{x}{3}\right)^{2} \left(\frac{x^{2}}{9} - \frac{2 x}{3} + 1\right)} & \text{for}\: \frac{\left|{x}\right|}{3} < 1 \\\sum_{n=1}^{\infty} 3^{- n} n^{3} x^{n} & \text{otherwise} \end{cases}$$
Piecewise((x*(-1 - x/3)/(3*(-1 + x/3)^3), |x|/3 < 1), (Sum(3^(-n)*n^2*x^n, (n, 1, oo)), True)) + Piecewise((x*(1 + x^2/9 + 4*x/3)/(3*(1 - x/3)^2*(1 - 2*x/3 + x^2/9)), |x|/3 < 1), (Sum(3^(-n)*n^3*x^n, (n, 1, oo)), True))