In order to use the elimination method, we have to multiply the equation by some number, so that one of the variable has the same coefficient.
For example, multiplying the first equation by 3 and the second by 2 gives the following, equivalent system:
Now, we can subtract the two equations, and we will cancel (eliminate) the x variable:
Now that y is known, plug it into one of the equations: for example, if we use the first one we get