Let us say we are given two polynomials $p=\sum_{k=0}^{m}p_kA^k$ and $q=\sum_{j}^{l}q_jA^j$ where we say that for $m<l$, we set $p_{m+1}=...=p_{m+l}=0$. The same goes for $l>m$.
The equation goes as follows: $$\sum_{k=0}^{m}p_kA^k\sum_{j}^{l}q_jA^j=\sum_{k=0}^{m}\sum_{j=0}^{l}p_kq_jA^{k+j}\overset{(1)}{=}\sum_{k=0}^{m+l}\sum_{j+l=k}p_kq_{j}A^k\overset{(2)}{=}\sum_{k=0}^{m+l}\sum_{j=0}^{k}p_jq_{k-j}A^k$$
I really do not get the $(1)$ and $(2)$ equality, or rather I do not know how to get there and whenever I tried something I do not even get to the $(1)$ . Any help is appreciated!