We need to form matrices A, B and C such that AB = AC, where A is a non-zero matrix but B ≠ C.
Take,
Multiply 1st row of matrix A by matching members of 1st column of matrix B, then finally sum them up.
Similarly, let us do the same for other elements.
Now, let us compute AC.
Multiply 1st row of matrix A by matching members of 1st column of matrix C, then finally sum them up.
Similarly, let us do the same for other elements.
Clearly, AB = AC, but B ≠ C.
Hence, we have found an example which fulfils the required criteria.