Square (row-by-column product of A with itself):
A2=(2111)(2111)=(4+12+12+11+1)=(5332).
Inverse with the 2×2 formula. The determinant is detA=2⋅1−1⋅1=1=0, therefore:
A−1=11(1−1−12)=(1−1−12).
Check: AA−1=(2111)(1−1−12)=(1001)=I2 ✓.