
Another solution:
Since $AP$ is the angle bisector and is also perpendicular to $BF$, it follows that $AB = AF$. By the angle bisector theorem, it follows that
$$ \frac{BQ}{CQ} = \frac{AB}{AC} = \frac{1}{2}. $$
Now, noticing that $\triangle ABQ $ and $\triangle AFQ$ share an edge $AQ$, $AB = AF$, and $\angle BAQ = \angle FAQ$, it follows that the two triangles are congruent and hence $BQ = FQ$.
Let $M$ be the midpoint of $CQ$. Then, we have $$BQ = QM = MC = QF.$$
This shows that $\triangle BFM$ is a right triangle with $\angle BFM = 90^\circ$. Hence, we also have $AQ \parallel FM$. Set $PQ = x$. Then,
$$
\frac{x}{FM} = \frac{PQ}{FM} = \frac{1}{2} = \frac{FM}{AQ} = \frac{FM}{9+x}
$$
Noting that $FM = 2PQ = 2x$ yields
$$
4x^2 = x(9+x) \implies x = 3 \implies PQ = 3
$$
as desired.