Suppose you have the following system of linear equation:

According to the statement above, first we need to solve for x in the second equation:

Next we need to substitute x into the first equation, so:

So, the conclusion is that from this last equation the result we can get is y. Then, by substituting the value of y in the first or second equation we can get x.