Write the equation for the inverse of the function:
[tex]\[ y = \operatorname{Cos}^{-1}(x - \pi) \][/tex]
A. [tex]\( y = \pi - \cos x \)[/tex]
B. [tex]\( y = \cos (x - \pi) \)[/tex]
C. [tex]\( y = \pi + \cos x \)[/tex]
D. [tex]\( y = \cos (x + \pi) \)[/tex]
Please select the best answer from the choices provided:
A, B, C, or D.