If 6 is subtracted from the third of three consecutive odd integers and the result is multiplied by 2, the answer is 31 less than the sum of the first and twice the second of the integers. Find the integers.