5x-2y=4

X+2y=8

I assume you are solving

add them the way they sit

6x = 12
x = 2

sub that into the 2nd , or the 1st.
I usually sub into the easier looking one.