For integrals of the kinds involving fractional trigonometric integrands
$$∫\frac{a\sin x+b\cos x+c}{d\sin x+e\cos x+f}dx$$
$$∫\frac{a\sin x+b\cos x}{c\sin x+d\cos x}dx$$
$$∫\frac{dx}{a\sin x+\cos x}$$
what are the relations between the numerator in the denominator, and what is the general pattern to solve these type of questions?
HINT: Write $$a\sin x+b\cos x+c=A \frac{(d\sin x+e cos x+f)}{dx}+B(d\sin x+e cos x+f)+C$$ where $A,B,C$ are arbitrary constant whose values can be determined by comparing the coefficients $\sin x,\cos x$ and constants
Now, for $$\int \frac{dx}{d\sin x+e\cos x+f}$$ use Weierstrass substitution.