Use the definition of the definite integral as a limit of Riemann sums (in this case right Riemann sums, i.e., the point at which the function f is evaluated in each interval is chosen to be the right endpoint of the interval).