Explanation:
Identify the variables (x,y) and represent them using the unknowns like this:
Let x represent the tens digit and y represent the ones digit of the number.
Relationships between the unknowns from the question:
x = 2y, and x + y = 12.
We can solve these simultaneous equations by substitution:
x + y = 2y + y = 12, 3y = 12, y = 4. So x = 8.
Link back to the question:
Therefore, the number is 84.