Multiple Choice

For the following system of equations, what is the x-value of the solution?

–x + 2y = 6
6y = x + 18

To find the x-value of the solution, we need to solve the system of equations.

From the first equation:
–x + 2y = 6
Adding x to both sides of the equation, we get:
2y = x + 6
Dividing both sides by 2, we get:
y = (1/2)x + 3

Substituting this value of y into the second equation:
6y = x + 18
Replacing y with (1/2)x + 3, we get:
6(1/2)x + 6(3) = x + 18
Simplifying the equation, we get:
3x + 18 = x + 18
Subtracting x from both sides, we get:
2x + 18 = 18
Subtracting 18 from both sides, we get:
2x = 0
Dividing both sides by 2, we get:
x = 0

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