a: \(=-\left(x^2-3x+7\right)\)
\(=-\left(x^2-3x+\dfrac{9}{4}+\dfrac{19}{4}\right)\)
\(=-\left(x-\dfrac{3}{2}\right)^2-\dfrac{19}{4}< 0\)
b: \(=-2\left(x^2-\dfrac{5}{2}x+\dfrac{23}{2}\right)\)
\(=-2\left(x^2-2\cdot x\cdot\dfrac{5}{4}+\dfrac{25}{16}+\dfrac{159}{16}\right)\)
\(=-2\left(x-\dfrac{5}{4}\right)^2-\dfrac{159}{8}< 0\)