Rectangular Rule integration

for f(x)=x2
xo:
x1: