From the second equation,
3x = 18 + 3y ; x = 6 + y
Substitute this expression for x to the x of the first equations. Thus,
5(6 + y) + 4y = 12
The value of y from this equation is -2.
Going back to the expression for x, x = 6 + y = 6 - 2 = 4. Thus, the solution to this system is (4, -2).