\(\left(3-\sqrt{2}\right)x^2+2\sqrt{2}x-\left(3+\sqrt{2}\right)\)
\(=\left(3-\sqrt{2}\right)x^2+\left(3+\sqrt{2}\right)x-\left(3-\sqrt{2}\right)x-\left(3+\sqrt{2}\right)\)
\(=x\left[\left(3-\sqrt{2}\right)x+3+\sqrt{2}\right]-\left[\left(3-\sqrt{2}\right)x+3+\sqrt{2}\right]\)
\(=\left(x-1\right)\left[\left(3-\sqrt{2}\right)x+3+\sqrt{2}\right]\)