Given that $$8(x + x + 2) = 40 + 10 ( x + 3) $$ $$ 8(x + x + 2) = 14 x + 30$$ $$ 16 x -14x = 30-16 $$ $$ 2 x = 14 $$ $$ x = 7 $$
Therefore, the four required consecutive numbers are 7, 8, 9 and 10.