What is the value of x in the solution to the system of linear equations? y=3x+2
y=x-4