Bài 1:
a: Ta có: \(5x^2-\left(2x+1\right)\left(x-2\right)-x\left(3x+3\right)+7\)
\(=5x^2-2x^2+4x-x+2-3x^2-3x+7\)
=9
b: Ta có: \(\left(3x-1\right)\left(2x+3\right)-\left(x-5\right)\left(6x-1\right)-38x\)
\(=6x^2+9x-2x-3-\left(6x^2-x-30x+5\right)-38x\)
\(=6x^2-31x-3-6x^2+31x-5\)
=-8