Divisibility of 11: If the difference of the sum of the digits at odd places and the sum of the digits at even places of a number is zero or a multiple of 11, then that number is divisible by 11.As per divisibility rule of 11, difference = (x + 21) - 18 = x + 3=> x + 3 = 11 => x = 8
Let the four numbers be x, x + 2, x + 4 and x + 6.=> x + x + 2 + x + 4 + x + 6 = 36=> 4x + 12 = 36 => x = 6The numbers are 6, 8, 10 and 12.Sum of their squares = 62 + 82 + 102 + 122 = 36 + 64 + 100 + 144 = 344.