we have two equation and two variables:

Now we can substitude the first equation into the second equation:

Now we move all the terms with an x to the left and the constants to the right

and we simplify

Now with the value of x, we can substitude into any equation, I am going to use the first one:
