Answer:
The values of x= 10 and y = 2
Step-by-step explanation:
Assume 
The first statement states that sum of two numbers, x and y, is 12
then, we can write this statement in algebraic expression:
...[1]
The second statement states that the difference of x and two times y is 6.
we can write it as :
....[2]
Now, subtracting equations, we will eliminate x leaving an equation in y that we can solve:
⇒ [1]-[2] gives

or

On simplify we get;
3y=6 or
y=2
Now, substitute the value of y=2 in equation [1] we get;
On simplify, we get;
x =10
therefore, the values of x and y are, 10 and 2.