a: \(=\left(x+2\right)^2\cdot\dfrac{2x-1}{3\left(x+2\right)}=\dfrac{\left(x+2\right)\left(2x-1\right)}{3}\)
b: \(=\dfrac{2\left(x+1\right)}{\left(x-2\right)\left(x+2\right)}\cdot\dfrac{-\left(x-2\right)}{x\left(x-1\right)}=\dfrac{-2\left(x+1\right)}{\left(x-1\right)\left(x+2\right)}\)