Find two consecutive odd integers such that the square of the first added to 3 times the second is 24.