\(A=\sqrt{9x^2-12x+4}+1-3x=\sqrt{\left(3x-2\right)^2}+1-3x=\left|3x-2\right|+1-3x=\left|3.\dfrac{1}{3}-1\right|+1-3.\dfrac{1}{3}=0\)
\(B=\sqrt{2x^2-6x\sqrt{2}+9}=\sqrt{\left(x\sqrt{2}-3\right)^2}=\left|x\sqrt{2}-3\right|=\left|3\sqrt{2}.\sqrt{2}-3\right|=\left|6-3\right|=3\)