Реши тригонометрическое уравнение \(\cos x = \frac{\sqrt{2}}{2}\):
\(x = \pm \square^{\circ} + \square^{\circ} n, \,\,\text{где } n \in \mathbb{Z}\).