Question 549031
Let's call n our smaller number, then the next consecutive number is n+1

Using the question we can make some equations:

{{{8n=5(n+1)-2}}}
And solve for n 
{{{8n=5n+5-2}}}
{{{8n=5n+3}}}
{{{8n-5n=5n+3-5n}}}
{{{3n=3}}}
{{{n=3/3}}}
{{{n=1}}}

So the two consecutive numbers are 1 and 2