The correct option is A 22
Let the required numbers be x and x+2.
Then by question, we have
x2+(x+2)2=244.
⇒x2+x2+4x+4=244
⇒2x2+4x−240=0
⇒x2+2x−120=0
Since the roots of a quadratic equation ax2+bx+c=0, where a,b and c are constants (a≠0) are given by
x=−b ± √b2−4ac2a, for the above equation we have
x=−2 ± √22−4(1)(−120)2× 1.
⟹x=−2 ± √4842
⟹x=−2 ± 222
⟹x=10,−12
Since x is even, we have x=10 and x+2=10+2=12.
Thus, the sum of the numbers is 10+12=22.