Equilateral $\triangle ABC$ is inscribed in a circle. A second circle is tangent internally to the circumcircle at $T$ and tangent to sides $AB$ and $AC$ at points $P$ and $Q$. If side $BC$ has length $12$, find the length of segment $PQ$.

Let's think step by step and output the final answer within \boxed{}.
user