If two matrices have the same dimensions, then they can be added.
Matrices can be multiplied as long as their dimensions “fit” correctly. That is, the number of columns in the first matrix must match the number of rows in the second. The entries of the product matrix can be obtained by calculating sums of products of rows of the first matrix with columns of the second.
To get the