Find three consecutive even numbers
such that the sum of three times the
smaller number and five times the larger
number is 40 more than twice the median
number.