Alice and Bob are solving a system of linear equations.
The system is:
Equation 1: $$x + 2y = 8$$
Equation 2: $$3x - y = 5$$
What is the value of $x$ when both equations are satisfied?