Recognize the geometric series and replace it:
$$\frac{x}{1-x^2}=x+x^3+x^5+x^7+\cdots$$
For all the rest, it's the same, just replace $x\to x^2,x^4,\ldots x^{2^n}$.
Now notice that the new terms are just filling in the missing terms:
$$S_2=x+x^2+x^3+\Box+x^5+x^6+x^7+\Box+x^9+\cdots$$
$$S_3=x+x^2+x^3+x^4+x^5+x^6+x^7+\Box+x^9+\cdots+x^{15}+\Box+x^{17}\cdots$$
From this, it's easy to see that the limit of this sequence is just the full geometric series without missing terms: $S_{\infty}=\frac{x}{1-x}$. If you stop at term $S_n$, you are missing all powers of $x^{2^n}$ (for example, $S_3$ is missing $x^8$, $x^{16}$ and so on), and the missing terms are simply the geometric series with $x^8$ ($x^{2^n}$ in general) instead of $x$. This makes it easy to write like this:
$$S_{n}=S_{\infty}(x)-S_{\infty}(x^{2^n})=\frac{x}{1-x}-\frac{x^{2^n}}{1-x^{2^n}}$$