Solution:
Left-hand side. A is 2×3 and B is 3×2, so AB is 2×2:
AB=[1(1)+2(2)+3(3)4(1)+5(2)+6(3)1(0)+2(1)+3(2)4(0)+5(1)+6(2)]=[1432817]
⟹(AB)′=[1483217]
Right-hand side. B′ is 2×3 and A′ is 3×2, so B′A′ is also 2×2:
B′=[102132],A′=123456
B′A′=[1(1)+2(2)+3(3)0(1)+1(2)+2(3)1(4)+2(5)+3(6)0(4)+1(5)+2(6)]=[1483217]
The two sides agree, so (AB)′=B′A′. ✓
The order matters. Taking A′B′ instead would pair (3×2) with (2×3), giving a 3×3 matrix — not even the right size, let alone equal to (AB)′.