Consider the following system of equations:
$$x + 2y = 10$$
$$3x - y = 5$$
What is the value of $x$ in this system of equations?