Use partial fractions to find the indefinite integral. (Remember to use absolute values where appropriate. Use C for the constant of integration.)

∫ 2x³ - 12x² - 79x + 39/x² - 6x - 40 dx