Solution (source code)

= Solution

Bring all terms to the left and factor the <quadratic polynomial>:
$$
2x^2+x-6=(2x-3)(x+2).
$$
Its leading coefficient is positive, so it is nonpositive between its two <polynomial roots>, including the endpoints. Therefore
$$
\boxed{-2\le x\le\frac32.}
$$