Have you considered attending class or reading your book?
Seriously, there must be a description of the process somewhere. Otherwise, why are you being asked to do such a thing?
First thing, they must be conformable. If one is mxn and the other is rxs, then either n = r or m = s, or you're just out of luck.