How do you solve the equation 3x+y=6 for x?