Let $f(x)=x^{2}+2 a x+3 a$. Note that $f(-3 / 2)=9 / 4$, so the graph of $f$ is a parabola that goes through $(-3 / 2,9 / 4)$. Then, the condition that $|x^{2}+2 a x+3 a| \leq 2$ has exactly one solution means that the parabola has exactly one point in the strip $-1 \leq y \leq 1$, which is possible if and only if the parabola is tangent to $y=1$. That is, $x^{2}+2 a x+3 a=2$ has exactly one solution. Then, the discriminant $\Delta=4 a^{2}-4(3 a-2)=4 a^{2}-12 a+8$ must be zero. Solving the equation yields $a=1,2$.
Determine all real numbers $a$ such that the inequality $|x^{2}+2 a x+3 a| \leq 2$ has exactly one solution in $x$.