Hi Anai,
Let x = the first number
x+1 = next number
x(x+1) = x + x+1 +5 (this says the product of two consecutive numbers is five more than the sum
x2 + x = 2x +6
x2 -x - 6 = 0
(x-3)(x+2)=0
x-3 = 0
x = 3
x+1 = 4
Hope this helps