First represent your two consecutive integers as follows.
X ⇒ first integer
X + 1 ⇒ second integer
Since their sum is 51, our equation reads x + x + 1 = 51.
Now combine like terms to get 2x + 1 = 51.
Now subtract 1 to isolate the 2x and this gives us 2x = 50.
Since 2 is being multiplied by x, to get x by itself, we need
to divide by 2 on both sides of the equation to get x = 25.
If x = 25, then x + 1 would be 25 + 1 or 26.
So our two consecutive integers are 25 and 26.