Consider the following system of equations:
Equation 1: $$x + 2y = 14$$
Equation 2: $$3x - y = 5$$
What is the value of $$x$$ when the system of equations is solved?