For the following system of equations, what is the x-value of the solution? (1 point)

-x+2y=6
6y=x+18
-1
0
1
6

x=0, y=3

We need to solve for the x-value, so we can use either equation to eliminate y:

From the first equation:
-x + 2y = 6
x = 2y - 6

Substitute this into the second equation:
6y = x + 18
6y = (2y - 6) + 18
6y = 2y + 12

Solving for y:
4y = 12
y = 3

Now substitute this value of y back into either equation to solve for x:
x = 2y - 6
x = 2(3) - 6
x = 0

Therefore, the x-value of the solution is 0.