Find the maximum value of 2x3 − 24x + 107 in the interval [1, 3]. Find the maximum value of the same function in [−3, −1].