(b)
Given, $y = a\log x + bx^{2} + x$
$\Rightarrow \ \ \ \ \frac{dy}{dx} = \frac{a}{x} + 2bx + 1$
At $x = - 1$ and $x = 2,\ y$ has its extrema.
$\therefore\ \ \ - a - 2b + 1 = 0\ \ \ \Rightarrow \ \ \ a + 2b = 1$ ...(i)
And $\frac{a}{2} + 4b + 1 = 0\ \ \ \ \Rightarrow \ \ a + 8b = - 2$ ...(ii)
On solving Eqs. (i) and (ii), we get
$a = 2,\ b = - \frac{1}{2}$