6 Given a real number $a$ such that there is only one real number $x$ satisfying the inequality $\left|x^{2}+2 a x+3 a\right| \leqslant 2$, then the number of all real numbers $a$ that satisfy the condition is ().
(A) 1
(B) 2
(C) 3
(D) infinitely many