\(A=-x^2+3x-7\)
\(=-\left(x^2-3x+7\right)\)
\(=-\left(x^2-2\cdot x\cdot\dfrac{3}{2}+\dfrac{9}{4}+\dfrac{19}{4}\right)\)
\(=-\left(x-\dfrac{3}{2}\right)^2-\dfrac{19}{4}< 0\forall x\)
\(3x-7-x^2=-\left(x^2-3x+\dfrac{9}{4}\right)-\dfrac{19}{4}=-\left(x-\dfrac{3}{2}\right)^2-\dfrac{19}{4}\le-\dfrac{19}{4}< 0\)