What is the value of the x variable in the solution to the following system of equations?

2x − y = 6
4x − 2y = 12

y=2x-6

4x-2(2x-6)= 12
4x-4x+12=12
12=12
infinite number of solutions