If a and b are integers such that $2x^2-ax+2>0$ and $x^2-bx+8≥0$ for all real numbers $x$, then the largest possible value of $2a−6b$ is
Answer: 36.
My attempt: Multiply the first inequality by 2 and second by 6. This gave $4x^2-2ax+2>0$ and $6x^2-6bx+48≥0$. Subtracting the second inequality from the first one, we get $-2ax+6bx≥2x^2+44$. This means $2a-6b≤(2x^2+44)/-x.$ Now how to move further. Am I going in the right direction?
The discriminant for first must be $<0$ and for second $\leq 0$ so $$a^2-16<0\;\;\;\;{\rm and}\;\;\;\;b^2-32\leq 0$$
So $$ a\leq 3\;\;\;\;{\rm and}\;\;\;\;b\geq -5 \implies 2a-6b\leq 36$$