Solving by substitution method.
If we clear y in equation 1, we get:
Now, if we substitute this result into equation 2, we have
By clearing parenthesis, we get 3x+3+x=-1.
Now, by combining similar terms, we obtain
If we move +3 to the right hand side as -3, we have
Finally, by substituting this result into out first equation, we get
Therefore, the solution of the system is x=-1 and y=2.