Question 1010158
This is a confused problem.
But here goes...
x = 2y
x = y + 6
y + 6 = 2y
y = 6
x = 12
The numbers are 6 and 12.