My first thoughts was that this had something to do with infinite geometric series, but upon closer inspection I saw that this isn't a geometric series. I then tried to factor it into $$2\left(\frac23+\frac29+\frac2{27}+\dots\right)+2\left(\frac29+\frac2{27}+\frac2{81}+\dots\right)+2\left(\frac2{27}+\frac2{81}+\frac2{243}+\dots\right)+\dots$$But since this is infinite too, I am not sure how to proceed.
*this is not the original question, I was just able to deduce it to this. Let me know if there's an easier was to solve this:
You have been placed in the center of a maze. Each room is a shape and paths are lines. Every move, you randomly pick a path, leading you to a different room, independent of any previous moves. Once you reach a star room, you win. What is the expected number of moves you will make before winning?

Symmetry helps to solve the underlying puzzle (I think this is easier and less error prone than using the series).
There are only three states: $S_0$ means you are in the center, $S_1$ means you are in a square, $S_2$ means you are done (you have reached the star).
Let $E=E_0$ be the expected number of moves it takes given that you are in $S_0$ (so this is the answer you want).
Let $E_1$ be the expected number of moves it takes given that you are in a square.
Clearly $E_0=E_1+1$.
We also have $$E_1=\frac 23\times 1+\frac 13\times (E_0+1)=1+\frac 13\times E_0\implies E_0=3$$
and we are done.
As a minor variant, consider the first two moves. Either we are done (probability $\frac 23$) or we are back in the center (probability $\frac 13$). Thus $$E=\frac 23\times 2+\frac 13\times (E+2)\implies E=3$$
Note, the series you wrote in the title is $$\sum_{n=1}^{\infty}\frac {4n}{3^n}$$ which you can compute by differentiating $\frac 1{1-x}=\sum x^n$ and adjusting the terms a little (there are other ways to compute it, of course). I note that this also gives the value $3$ in the end.