Answer :

so the two numbers can be represented as x and y

so x is first and y is second

y=2(x)-8

so y=2x-8


IF THEY ARE CONSECUTIVE
If they are consecutive numbers then 
x+1=y
subtitute
x+1=2x-8 
subtract x from both sides
1=x-8
add 8 to both sides and get
9=x
put it into the equation and get
y=2(9)-8
y=18-8
y=10
so x=9
y=10 
IF X AND Y ARE CONSECUTIVE INTEGERS (1,2,3,4 not 2.3 or 1,3,5,8)

[tex]x\ \ \rightarrow\ \ the\ first\ number\\y\ \ \rightarrow\ \ the\ second\ number\\\\ y=2\cdot x-8\\\\for\ example:\\\\x=-2\ \ \ \Rightarrow \ \ \ y=2\cdot(-2)-8=-4-8=-12\\x=0\ \ \ \Rightarrow \ \ \ y=2\cdot0-8=0-8=-8\\x=7\ \ \ \Rightarrow \ \ \ y=2\cdot7-8=14-8=6\\[/tex]