The correct option is C 6 and 7
Let the two numbers be x and (x + 1).
As per the question,
x2+(x+1)2=85
⇒x2+(x2+2x+1)=85
⇒2x2+2x−84=0
⇒x2+x−42=0
⇒x2+7x−6x−42=0
⇒(x+7)(x−6)=0
Thus, x = -7 or 6.
⇒(x+1)=−6or7.
Among the given options, 6 and 7 is the right answer.