A geometric series has common ratio $r$ where $|r|<1$. The sum of the first n terms is $S_n$ and the sum to infinity is $S$. Express $r$ in terms of $S_n$, $S$ and $n$, and prove that the sum of the first $2n$ terms is $\dfrac{[Sn(2S-Sn)]}{S}$.
I tried to use the formula $S_n=\dfrac{a(r^n -1)}{(r-1)}$ and $S_\infty=\frac{a}{(1-r)}$. But how to substitute the $a$ and $r$ so that the answer will be no $a$ and $r$?