[tex]W = \displaystyle \int^{5}_{2} F(x) ~ dx\\\\\\= \displaystyle \int^{5}_{2} \left(12x^2 +7\right) ~dx\\\\\\= 12\displaystyle \int^{5}_{2} x^2 ~dx + \displaystyle \int^{5}_{2} 7~ dx\\\\\\=12 \left[\dfrac{x^3}3 \right]^{5}_{2} + 7\left[x\right]^{5}_{2}\\\\\\=4(5^3-2^3) + 7(5-2) = 468 + 21 = 489~ J[/tex]