## Calculus 10th Edition

The derivative is $\frac{-1}{x^2}-3cos(x)$.
The function is the difference of two functions so the overall derivative is the difference of both derivatives. The derivative of $\frac{1}{x}$ is $\frac{-1}{x^2}$ and the derivative of $-3sin(x)$ is $-3cos(x)$. Hence the overall derivative is $\frac{-1}{x^2}-3cos(x)$.