In the diagram below, $\overline{P S}$ is a tangent to circle $O$ at point $S, \overline{P Q R}$ is a secant, $P S=x, P Q=3$, and $P R=x+18$.<image 1>What is the length of $\overline{P S}$ ?
['6', '9', '3', '27']