Explanation:
Find the discriminant

for a matrix
(a b)
(c d)
Here it is


The formula for the inverse of a 2 by 2 matrix,

Note since the discriminant isn't 0, an inverse must exist.

Multiply everything by the fraction.

The last matrix is the inverse of A