2x-y=6

y-x=0

does x=6 and y=6

did you substitute those values back in both equations?

Try it.