a)\(\left(x^2-3x-x+3\right):\left(x-3\right)\)
\(=\left[x\left(x-3\right)-\left(x-3\right)\right]:\left(x-3\right)\)
\(=\left(x-1\right)\left(x-3\right):\left(x-3\right)\)
\(=x-1\)
b)\(2x^3-5x^2-4x+3\)
\(=\left(2x^3-x^2-4x^2+2x-6x+3\right):\left(2x-1\right)\)
\(=\left[x^2\left(2x-1\right)-2x\left(2x-1\right)-3\left(2x-1\right)\right]:\left(2x-1\right)\)
\(=\left(2x-1\right)\left(x^2-2x-3\right):\left(2x-1\right)\)
\(=x^2-2x-3\)