Lets name the numbers as x and x + 2 the sum of the squares of these 2 numbers are 340 x² + (x+2)² = 340 x² + x² + 4x + 4 = 340 2x² + 4x - 336 = 0 we are left with a quadratic equation coefficient of x is 2 therefore divide each number by 2 x² + 2x - 168 = 0 to solve the quadratic equation , the 2 factors whose product is 168x² and sum is 2x is -12x and 14x x² + 14x -12x -168 = 0 x (x + 14) - 12(x + 14)=0 (x+14)(x-12) = 0 we have 2 possible values for x x + 14 = 0 x-12 = 0 x = -14 x = 12 from the 2 answers the correct answer is x = 12 as it should be a positive integer one integer is 12 and consecutive even integer is 14 to check the product of the squared numbers = 14² + 12² = 196 + 144 = 340