
\[a+ax+ax^{2}+\dots+ax^{n-1}=\frac{a(1-x^{n})}{1-x},\]