We have the following system of equations:
Solving by combining equations:
If we multiply equation A by 2, we get the following equivalent system:
If we add both equation, we have
which gives
If we move the coefficient of y, we get
Finally, by substituting this result into equation B, we obtain
which leads to
If we move +24 to the right hand side,we get
and x is given by
Therefore, the answer is