Matrix Multiplication



I need help prove that if A and B are matrices, and c is any scalar then

c(AB) = (cA)B = A(cB).

We assume that AB is possible.

I can't seem to get it right, I was able to prove c(A+B)=cA+cB with no problem, but for some reason I cannot get this one. Thanks for all the help provided.
.