In order to solve this system using the inverse of a matrix, first let's put the system in the matrix form:

Now the system is in the form AX = B, where A, X and B are matrices.
To solve this system, we can do the following:

So we need to calculate the inverse matrix of A. We can do this as follows:

Now we have:

So the solution of this system is x = -2.5 and y = 0.5