\(a,\left(3x+1\right)\left(3x-1\right)-\left(18x^3+5x^2-2x\right):2x\\ =\left(9x^2-1\right)-\left(9x^2+\dfrac{5}{2}x-1\right)\\ =9x^2-1-9x^2-\dfrac{5}{2}x+1=\dfrac{5}{2}x\)
\(b,3x\left(x-2021\right)-x+2021=0\\ \Rightarrow b,3x\left(x-2021\right)-\left(x-2021\right)=0\\ \Rightarrow\left(x-2021\right)\left(3x-1\right)=0\\ \Rightarrow\left[{}\begin{matrix}x=2021\\x=\dfrac{1}{3}\end{matrix}\right.\)