We have the system of equations:

We have to solve it by substitution.
The second equation gives the information to substitute, for example, x with y. We perfomr the substitution in the first equation:

Then, with the value of y and the second equation we have:

Answer: the solution to the system is x=3 and y=3.