For the inverse cosine function, we have

implies and

Let's say if I want to find the inverse of where

Is the following correct?

Let

since

Hence, where

Is there any other way of doing this?

What about finding the inverse of

where ?

Many thanks for those who can help