If $\displaystyle f(n)=\int^{1}_{0}(1+x+x^2+\cdots +x^{n-1})(1+3x+5x^2+\cdots +(2n-1)x^{n-1})dx$. Then $f(2019)$ is
What I tried:
$$1+x+x^2+\cdots +x^{n-1}=\frac{1-x^n}{1-x}$$
and $$1+3x+5x^2+\cdots +(2n-1)x^{n-1}=\frac{1}{1-x}+\frac{2(1-x^n)}{1-x}-\frac{(2n-1)x^n}{1-x}$$
How do I solve it? Help me, please.