Solve this Calculus problem – Find derivative and integral w…

I need a detailed step-by-step solution for the following calculus question:

1. Find the derivative of f(x) = (3x + 5x – 2) / (x + 1)

2. Find the indefinite integral of f(x) = x + 2x – 5x + 7

Please explain each step clearly, especially the quotient rule and integration by parts if used. Also show the final answer.

I have an exam tomorrow, so I need clear explanations.