a: \(\left(2x-1\right)^2-3\left(x-1\right)\left(x+2\right)-\left(x-3\right)^2\)
\(=4x^2-4x+1-x^2+6x-9-3\left(x^2+x-2\right)\)
\(=3x^2+2x-8-3x^2-3x+6\)
=-x+2
b: \(\left(x-2\right)\left(2x-1\right)-3\left(x+1\right)^2-4x\left(x+2\right)\)
\(=2x^2-x-4x+2-3x^2-6x-3-4x^2-8x\)
\(=-5x^2-19x-1\)