The solution is

Explanation:
To solve the equation by substitution method, we need to substitute an equivalent value of a variable in one equation to an another equation.
The given two equations are
and
.
Thus, we know the equivalent value of y from one equation, let us subsitute the value of y from the equation
to the equation


Subtracting 2x from both sides of the equation, we get,

Adding 8 to both sides of the equation, we get,

Dividing by 2 on both sides of the equation,

Now, substituting
in the equation
, we get,

Thus, the solution is
