Recall the formula for the sum of a finite geometric sequence $a_1, a_1r, a_1r^2, a_1r^3, \dots , a_1r^{n-1}$ where $r \neq 1$ is $a_1 \cdot \frac{1-r^n}{1-r}$