How do you use partial fractions to find the integral #int (3cosx)/(sin^2x+sinx-2)dx#?