f(x)=x3+x2f′(1)+2xf′′(2)+f′′′(3).
f′(1)=a, f′′(2)=b and f′′′(3)=c yields f(x)=x3+ax2+2bx+c.
f′(x)=3x2+2ax+2b, f′′(x)=6x+2a and f′′′(x)=6.
f′′′(3)=6=c.
we have f′′(2)=12+2a=b.
f′(1)=3+2a+2b=a.
3+2a+2b=a⇒a+2b=−3 (i) and b=12+2a (ii).
Substituting (ii) into (i) yields a+2(12+2a)=−3⇒5a+24=−3⇒a=−527.
Substitution into (ii) then gives b=12+2(−27/5)=12−54/5=6/5.
f′(x)=3x2+2(−27/5)x+2(6/5)=3x2−554x+512.
It follows that f′(5)=75−5270+512=75−54+512=21+512=5105+12=5117.