For the following system of equations, what is the x-value of the solution?
–x + 2y = 6
6y = x + 18
A.–18
B.0
C.–6
D.3
–x + 2y = 6
6y = x + 18
A.–18
B.0
C.–6
D.3