What you need to use here is the Riemann Sum from the left-end point. The formula is:
∫baf(x)dx = Δx•(f(x0)+f(x1)+f(x2)+...+f(xn-1)) where Δx = (b-a)/n
So for: ∫124 (5x2 - 1)dx, n = 4
First, solve for Δx:
Δx = (12-4)/4 = 8/4 = 2
This means that we have to get the 4 numbers for x0...xn-1 2 units apart starting from a=4 to something less than 12. (Note: It's left-endpoint, that's why 12 is not included)
x0 = 4
x1 = 6
x2 = 8
x3 = 10
Therefore:
∫124 (5x2 - 1)dx = 2 (f(4) + f(6) + f(8) + f(10))
f(4) = 5•42 - 1 = 79
f(6) = 5•62 - 1 = 179
f(8) = 5•82 - 1 = 319
f(10) = 5•102 - 1 = 499
∫124 (5x2 - 1)dx = 2 (79+ 179 + 319 + 499) = 2152 sq. units