The system of equations are
\
Write the equations into matrix form
.
Where
is coefficient matrix,
is variable matrix and
is constant matrix.

Inverse of a
matrix:
.
Here
and
.



.
.
Rewrite the equation.
\
.
Find
.




.
Check the solution for
-values.
The equations are
and
.
Case (i):
\
(First equation)
(Substitute
and
)
(Multiply)
(Subtract:
)
Case (ii):
\
(Second equation)
(Substitute
and
)
(Multiply)
(Subtract:
)
The solution of the system of equations are
and
.