A system of equations is shown below:

3x − y = 2
x + y = 6

The x-coordinate of the solution to this system of equations is