Let us suppose the numbers first one is x and second is y
twice the first number - second number = 2x - y =18 -------------( equation 1 )
twice the second number - first number = 2y - x = 9 ------------( equation 2)
let us substitution method for solving these two linear equations .
first equation says 2x- y =18
OR 2x - 18 = y
let us use this value of y in second equation .
second equation is 2y - x = 9
this becomes : 2 ( 2x-18 ) - x = 9
4x - 36 - x = 9
3x = 9 +36
3x = 45
x= 45/3= 15
so y= 2x- 18 = 2( 15) -18 = (30 ) -1 8 = 12
Answer : numbers are 15 and 12