Riemann integral/x^2 from a to b/Explicit via staircase integrals/Exercise

Determine the definite integral

as a function of and

explicitly with lower and upper staircase functions.