Answer:
39, 40, 41
Step-by-step explanation:
Let x represent the middle integer. The sum of the three integers will be ...
(x -1) +x +(x +1) = 3x
This is 40 more than 2 times the middle integer, so we have ...
3x = 40 +2x
x = 40 . . . . . . . subtract 2x
The three integers are 39, 40, 41.
_____
Additional comment
It often works well to solve consecutive integer problems by letting a variable represent the middle value, or the average of the integers.