Let $S$ be a circle with radius $R$ and center at $O$. Let $P$ be any arbitrary point inside circle such that its distance from $O$ is $x$ and the ray $\overrightarrow{OP}$ cuts the circle $S$ at $M$.
Let $N$ be any other point on the circle such that $\angle NPM = \theta$ and $\angle NOM = \phi$.
How can we express $\phi$ in terms of $R\text{, }x \text{ and }\theta$.

Here is a diagram of the relevant parts of your question.
The calculations of the additional angles should be obvious. Using the Law of Sines,
$$\frac{\sin(\theta-\phi)}{x}=\frac{\sin(\pi-\theta)}{R}$$ $$\sin(\theta-\phi)=\frac xR\sin(\pi-\theta)$$ $$\theta-\phi=\sin^{-1}\left(\frac xR\sin(\pi-\theta)\right)$$ $$\phi=\theta-\sin^{-1}\left(\frac xR\sin(\pi-\theta)\right)$$ $$\phi=\theta-\sin^{-1}\left(\frac xR\sin\theta\right)$$
That conversion between the second and third lines, from sine to arcsine, is valid since the angle $\theta-\phi$ must be acute.