Answer:
x= -1, y= 5
Explanation:
Please see the attached picture for the full solution.
Matrix A is called the coefficient matrix. This means that its elements are the coefficient of x and y. In matrix X, write the unknown variables. Then write the constants in matrix B.
Theorem:

☆ I is an identity matrix and can be treated as 1 when multiplying.

☆
is the determinant of A
☆ adj(A) is the adjoint of matrix A