Concept:Evaluate the definite integral in terms of a, then solve the resulting cubic equation.Explanation:Integrate the polynomial term by term.∫(x2−4x+1)dx=3x3−2x2+x.Apply the limits from 0 to a.[3x3−2x2+x]0a=3a3−2a2+a.Set this equal to 6.3a3−2a2+a=6.Multiply the entire equation by 3.a3−6a2+3a=18.Rearrange to form a cubic equation.a3−6a2+3a−18=0.Factor by grouping.a2(a−6)+3(a−6)=0.(a−6)(a2+3)=0.So, a−6=0 or a2+3=0.Since a2+3=0 gives no real value of a, we get a=6.Answer:The real value of a is 6, which is Option B.