Consider the function f(x)=4x^3−10x^2+8x−2.

An antiderivative of f(x) is F(x)=Ax^4+Bx^3+Cx^2+Dx
where
A is
B is
C is
D is

Just apply the power rule:

A = 1
B = -10/3
C = 4
D = -2