Could somone show me how the integral X^2-7X+10 on [2,5] would be equal to -4.5. I know that given RHS= F(Xi)delta x the delta is 3/n and Xi is 1+3i/n so I know how to start like this.

(1+(3i/n)^2-7(1+(3i/n))+10)(3/n)

I just don't see how I would break this down.

I know that after it is simplifed I need to take the limit as n approaches postive infintiy.