Prove by mathematical induction that, for $q\ne1$, and integer $r\ge 0$,
$$a+aq+\cdots+aq^r = \dfrac{a(q^{r+1}-1)}{q-1} $$
Unsure where is my $~n~$ to sub my $~k+1~$ in this case, as there are $~3~$ variables.
Will require a really simplified answer if possible, beginner discrete mathematics.
Edit: Selected Rick's answer as his was more complete, but I personally understood through Marty's method. Thank you all for taking a look at my question.
This is just the formula for geometric finite series once you take the $a$ common.
$$a(1+q+q^2+q^3+...+q^r) = \frac{a(q^{r+1}-1)}{q-1} $$
Let's try to prove this formula via induction.
Induction step 1, check for base case i.e $ r = 0$,
L.H.S. = $ a(1) = a$, R.H.S. = $ \frac{a(q^{r+1}-1)}{q-1}=\frac{a(q^{0+1}-1)}{q-1} = \frac{a(q-1)}{q-1} = a$. Hence L.H.S. = R.H.S. and base case is true.
Induction step 2, assume formula is true for $r = k \Rightarrow a(1+q+q^2+...+q^k) = \frac{a(q^{k+1}-1)}{q-1}$
We will show it holds for $ r= k+1$. When $r =k+1$, then
$a(1+q+...+q^{k+1}) = a(1+q+...+q^k)+ aq^{k+1}$
Using the fact that we assumed the formula to be true for $r =k$, we substitute the value of $a(1+q+q^2+...+q^k)$ from step 2 to obtain: $L.H.S. = a(1+q+...+q^k)+aq^{k+1} = \frac{a(q^{k+1}-1)}{q-1} +aq^{k+1} = \frac{a(q^{k+1}-1)+aq^{k+1}(q-1)}{q-1}= \frac{a(q^{k+1}-1)+aq^{k+2}-aq^{k+1}}{q-1} = \frac{aq^{k+2}-a}{q-1} = \frac{a(q^{(k+1)+1}-1)}{q-1}$
This is what was needed.