Let's say that there is no limit to $x$, then I believe $y = \arccos(x) + \pi n $ because $\cos(y) = x$ for $x + \pi n , n\in \mathbb{Z}$. However, in the last step of the following calculation, it shows that the solution is $y = \arccos(x) + 2\pi n , y = -\arccos(x) + 2\pi n $:
Is this correct?

Take as example $x=1/2$. Then your formula would give the solutions of $\cos y=1/2$ as $y=\text{arccos}(1/2)+\pi n=\pi/3+\pi n$, which in particular would include $y=4\pi/3$ for $n=1$. But $\cos(4\pi/3)=-\cos(\pi/3)=-1/2$, so this is not a solution and your proposed solution set cannot be correct.