Determine the integral $\int_a^e(mx+b)\,dx$ using upper and lower sums.

Problem: 

Determine the integral $\int_a^e(mx+b)\,dx$ using upper and lower sums.

Answer: 

\begin{equation} \int_a^e \left(mx+b\right)\,dx=\frac{m}{2}e^2+be-\left(\frac{m}{2}a^2+ba\right). \end{equation}