Solution:
Left-hand side. First the product:
AB=[2111][3121]=[6+13+14+12+1]=[7453]
Its determinant is 21−20=1, so
(AB)−1=11[3−4−57]=[3−4−57]
Right-hand side. ∣A∣=1 and ∣B∣=1, so
A−1=[1−1−12],B−1=[1−1−23]
B−1A−1=[1−1−23][1−1−12]=[1+2−1−3−1−41+6]=[3−4−57]
The two sides agree, so (AB)−1=B−1A−1. ✓
The order matters. Taking A−1B−1 instead gives [2−3−58], which is not the inverse of AB.