Let a be $a$ be a real number such that $0<a<1$ find $\begin{align} \sum_{k=0}^{\infty}ka^k \end{align}$
I know that
$a^0+a^1+...+a^\infty = \frac{1}{1-a}$
By stretching it as follows
$\begin{align} \sum_{k=0}^{\infty}ka^k= \\a^1+a^2+a^3...+a^\infty \\+a^2+a^3+a^4...+a^\infty \\+a^3+a^4+a^5...+a^\infty \\ .\\.\\.\\+a^\infty \\= \sum_{k=1}^{\infty}\frac{a^k}{1-a} \\ = \frac{a}{(1-a)^2}\end{align}$
Writing it a little better,
$\begin{align} \sum_{k=0}^{\infty}ka^k= \end{align}$ $\begin{gather} a^1\rightarrow a^\infty+\\a^2\rightarrow a^\infty+\\ \downarrow \\a^\infty \end{gather}\\$$\begin{align}=\sum_{k=1}^\infty\frac{a^k}{1-a}= \frac{a}{(1-a)^2}\end{align}$
How to formalize this stuff?
I'd get rid of the part after "writing it a little better" because the monster between the first and second $=$-sign is hideous and hard to read. Using more words also helps if you're going for more intuitive proofs. If you really want to deliver a waterproof, rigorous mathematical proof, I'd try to avoid the $\cdots$-notations (and since you're not using words that much I feel like that is what you were going for). In the more rigorous proofs, when I try to prove $A=B$, I always like to just start by writing $A=$, and use simple aritmetic to finally end up with $B$. Sometimes you need (or want) to use some lemma's, as I do below with $\sum a^k=\frac1{1-a}$, but usually you can either mention them before you start or simply assume the reader is aware of that fact (as I do below). So, here's my take on it:
\begin{align} \sum_{k=0}^{\infty}ka^k&=\\ \sum_{k=1}^{\infty}ka^k&=\\ \sum_{k=1}^{\infty}\left(\sum_{i=1}^k1\right)a^k&=\\ \sum_{k=1}^{\infty}\sum_{i=1}^ka^k&=\\ \sum_{i=1}^\infty\sum_{k=i}^{\infty}a^k&=\\ \sum_{i=1}^\infty a^i\sum_{k=i}^{\infty}a^{k-i}&=\\ \sum_{i=1}^\infty a^i\left(\sum_{k=0}^{\infty}a^k\right)&=\\ \sum_{i=1}^\infty a^i\cdot\frac{1}{1-a}&=\\ \frac{1}{1-a}\sum_{i=1}^\infty a\cdot a^{i-1}&=\\ \frac{a}{1-a}\sum_{i=0}^\infty a^i&=\\ \frac{a}{1-a}\cdot \frac{1}{1-a}&=\\ \frac{a}{(1-a)^2}&\\ \end{align}