I have been trying to figure out how to convert the attached graph into a Riemann sum and then converting that into an integral. I know that the equations are:

and y = x

I keep getting caught up with the term Dy and am not sure what to do. All help is much appreciated.