Consider the given function.
f(x)=x+22x2+3x+6
Clearly, the function (2x2+3x+6) is a quadratic function with a=2>0 and so it will have its minimum value at x=−b2a=−34 and the minimum value will be,
2(−34)2+3(−34)+6=98−94+6=9−18+488=398
We can see that,
D<0 and 2x2+3x+6>0 ∀ x
Hence,
0<1(2x2+3x+6)<839 ∀x∈R
Therefore, f(x) will have its maximum value at x=−34 and its value will be,
(−34)+2(398)=5×839×4=1039
Hence, this is the required result.