\(=\left[\left(2x+1\right)-\left(2x-1\right)\right]^2\\ =\left[2x+1-2x+1\right]^2\\ =\left(2\right)^2=4\)
\(\left(2x+1\right)^2-2\left(2x-1\right).\left(2x-1\right)+\left(2x-1\right)^2\)
\(=\left[\left(2x+1\right)-\left(2x-1\right)\right]^2\)
\(=\left[2x+1-2x+1\right]^2\)
\(=2^2\)
\(=4\)