\(cos\left(2x+1\right)=cos\left(2x-1\right)\)
\(\Leftrightarrow cos\left(2x+1\right)-cos\left(2x-1\right)=0\)
\(\Leftrightarrow-2sin2x.sinx\left(2\right)=0\)
\(\Leftrightarrow sin2x=0\)
\(\Leftrightarrow2x=k\pi\)
\(\Leftrightarrow x=\dfrac{k\pi}{2}\)