X-value of -x+2y=6 6y=x+18

well, 2y = x+6

so 6y = 3x+18
use that in the other equation to find x.