Matrix multiplication/Complex matrices/Exercise

Compute the product of matrices

according to the two possible parentheses.