Let the consecutive even integers be 2n and 2n+2
(2n)2+(2n+2)2=244
⇒8n2+8n+4=244
⇒n2+n−30=0
⇒(n+6)(n−5)=0
⇒n=5 (n can’t be negative)
The numbers are 10 and 12.