Let first number is x
Second number will be x+1
According to the statement
<!--td {border: 1px solid #ccc;}br {mso-data-placement:same-cell;}--> (x)2 + (x+1)2=145
(x)2+(x)2+(1)2+2x=145
[using the identity [ (a+b)2 = (a)2 + (b)2+2ab ]
2x2+2x+1−145=0
2x2+2x−144=0