4. (18 points) Find $\frac{dy}{dx}$ of the following functions.a. $y = f(x) = (x + 2)^2 (3x - 1)^{-1}$