So you are doing a RHS sum and a LHS sum with the RHS being smaller for a decreasing function.
The width of the rectangles are (7-1)/n = 6/n xi = 1+ 6i/n for i = 0 to n
The LHS sum of the areas is the summation (i= 1 to n) of f(xi-1)(6/n)
The RHS sum of the areas is the summation (i=1 to n) of f(xi)(6/n)
f(xi) = 6 - 2(1 + 6i/n) = 4 + 12i/n
The RHS summation is 6/n times summation (i=1,n) of (4 - 12i/n)
6/n(4n - (12/n)(n)(n+1)/2 = 6/n (-2n - 6) = -12 -36/n (Approaches the correct value of integral as n→∞)
I'll leave the LHS sum for you. Remember sum of i from 1 to n is n(n+1)/2)
Please consider a tutor. Take care.

JACQUES D.
10/08/22
Aidan M.
Thanks Jacques, that makes a lot of sense. Was able to find the LHS sum as well10/08/22