Let $I,J,K$ be ideals in ring $R$, then prove that $(IJ)K=I(JK)$.
Take an element from $(IJ)K$, then the element is the finite sum of $ab$ where $a\in IJ$, $b \in K$. Then since $a\in IJ$, $a=\sum_{p=1}^{n} i_p j_p$. Then $ab=(\sum_{p=1}^n i_pj_p)b$. I don't know how to make this summation in the form of $c(\sum_{p=1}^m j_p k_p)$ where $c \in I$.