If the question is to find the two consecutive integers then the answer will be like this...
Let one no. be x then the other will definitelty be x+1
Now according to question x + x + 1 = 17
or, 2x = 17-1
or, x = 16/2
or, x = 8
Therefore one no is x or 8 and the other is x+1 or 8+1 or 9...