Need hint to solve the following integral We are fixed and need some hint to solve the problem
 $$\int\frac{(ax+b)^m}{(cx+d)^n}dx$$ where $m,n\in \mathbb{N}$. 

Let $u=cx+d$.
$$\int\frac{(ax+b)^m}{(cx+d)^n}dx=\frac{1}{c}\int\frac{\left(\frac{au}{c}+\frac{d(c-a)}{c}\right)^m}{u^n}du=\frac{1}{c^{m+1}}\sum_{k=0}^m\binom{m}{k}a^{k}d^{m-k}(c-a)^{m-k}\int u^{k-n}du$$
