Definition used -
Product of two matrices -
The product of two matrices is possible if the number of columns of the first matrix is equal to the number of rows of the second matrix.
Row element of the first matrix and the corresponding column element of the second matrix multiplied and add.
Here a, b, c, d, e, f, g, and h are non-zero.
So we have to choose any three numbers which staifies these equations.
and will stsify this equation
So we can write matrix-