How to find the following sum? $$ \frac{2}{n} \sum_{i=1}^{n} \left(\frac{4i}{n} +1\right) $$ For example $$ \sum_{i = 1}^n i^2 = \frac{n(n+1)(2n+1)}{6}. $$ I need to find the value of which this would converge to and I know that it must be six because the integral from $1$ to $3$ of the function $(2x-1)$ is $6$.
Any help is appreciated!!!