Step 1:
We are given the integral
$$\int \frac{\sin x-5 \cos x}{\sin x+\cos x} d x$$
and we are asked to find numbers $a$ and $b$ such that
$$\sin x-5 \cos x=a(\sin x+\cos x)+b(\cos x-\sin x)$$
By comparing coefficients, we can find that $a=-3$ and $b=-2$.
Show more…