hello
to solve this problem, let's represent the first consecutive number with x and the second with x + 2
from the information on the question, we can set out an equation here

let's solve this equation
step 1
collect like terms

step two
divide both sides by the coefficient of x