Since the order of equations makes us able to add al the like terms 5x + 4x; 2y + (- 2y); 18 + 0:

+

=

(We got that answer by summing the two equations. Note that 2y + (-2y) cancels out since it results in 0)
→ we take 9 to the right side of the equation
→ we solve for 18 / 9
→ final answer
Answer for x:

Now to solve for y we substitute all the x's by 2 in any of the equations you like, I'll choose the first one:
→ we solve for 5(2)
→ we take 10 to the right side of the equation
→ we solve for 18 - 10
→ we take 2 to the right side of the equation
→ we solve for 8 / 2
→ final answer
Answer for y:

Hope it helped,
BioTeacher101
(If you have any questions, feel free to ask them in the comments)