Precalculus unit circle with imaginary axis. (a) Suppose $p$ and $q$ are points on the unit circle such that the line through $p$ and $q$ intersects the real axis. Show that if $z$ is the point where this line intersects the real axis, then $z = \dfrac{p+q}{pq+1}$.
(b) Let $P_1 P_2 \dotsb P_{18}$ be a regular 18-gon. Show that $P_1 P_{10}$, $P_2 P_{13}$, and $P_3 P_{15}$ are concurrent.
I have gotten nowhere on this problem, but I have a hint:
One of those three segments is more interesting than the other two. Which one, and why? And how can you use that fact to make part (a) relevant?
Any help is appreciated!

There probably is an easy, intuitive way to solve part (a), but apparently neither of us has found it. Therefore we try the straightforward but tedious ways: analytic geometry for the intersection of the line and the $x$-axis, and real- and imaginary-parts of the complex numbers for the expression.
Let $p=a+bi$ and $q=c+di$.
Intersection of the line through $p$ and $q$ and the $x$-axis: the slope of the line through $p$ and $q$ is $m=\frac{d-b}{c-a}$. The point-slope form of the line through $p$ with that slope is then
$$y-b=\frac{d-b}{c-a}(x-a)$$
Setting $y=0$ and solving for $x$ we get
$$x=\frac{ad-bc}{d-b}$$
Thus our formula for $z_1$, the complex number at the intersection with the $x$-axis, is
$$z_1=\frac{ad-bc}{d-b}$$
Simplifying the expression: Leaving out some of the tedious simplification steps, we get
$$\begin{align}
z_2 &= \frac{p+q}{pq+1} \\[1em]
 & = \frac{a+bi+c+di}{(a+bi)(c+di)+1} \\[1em]
 & = \frac{(a+c)+(b+d)i}{(ac-bd+1)+(ad+bc)i} \\[1em]
 & = \frac{[(a+c)+(b+d)i]\cdot[(ac-bd+1)-(ad+bc)i]}
    {[(ac-bd+1)+(ad+bc)i]\cdot[(ac-bd+1)-(ad+bc)i]} \\[1em]
 & = \frac{[c(a^2+b^2)+a(c^2+d^2)+a+c]+[-d(a^2+b^2)-b(c^2+d^2)+b+d]i}
    {(a^2+b^2)(c^2+d^2)+2(ac-bd)+1}
\end{align}$$
Since $p$ and $q$ are on the unit circle, $a^2+b^2=1$ and $c^2+d^2=1$. Substituting those we get
$$\begin{align}
z_2 &= \frac{[c+a+a+c]+[-d-b+b+d]i}{1+2(ac-bd)+1} \\[1em]
 &= \frac{a+c}{ac-bd+1}
\end{align}$$
Now we check if those expressions for $z_1$ and $z_2$ are equal.
$$\frac{ad-bc}{d-b} \stackrel{?}{=} \frac{a+c}{ac-bd+1}$$
Cross-multiplying,
$$ad-bc+cd(a^2+b^2)-ab(c^2+d^2) \stackrel{?}{=} ad-bc+cd-ab$$
Again using $a^2+b^2=1$ and $c^2+d^2=1$, we get equality.
Thus the statement in part (a) is proved.

As for part (b), points $P_1$ and $P_{10}$ are opposite vertices of the regular $18$-gon. Therefore segment $\overline{P_1P_{10}}$ is a diameter of the circumcircle of the $18$-gon.
You could choose the particular regular $18$-gon to be inscribed the unit circle, with $P_1$ at unity. $P_{10}$ would then be at $-1$ and the segment between them is on the $x$-axis. If we let $r$ be the first complex $18$th root of $1$, namely $r=e^{i\pi/9}$, then $P_2$ is at $r$, $P_3$ at $r^2$, $P_4$ at $r^3$, and so on.
The diagonal between $P_2$ and $P_{13}$ then meets the requirements of part (a) and you can use the formula to find where that diagonal intersects the $x$-axis, namely at $\frac{r+r^{12}}{r^{13}+1}$. You can do the same for the diagonal between $P_3$ and $P_{15}$ and get $\frac{r^2+r^{14}}{r^{16}+1}$. Show that those two $x$-coordinates are the same, and part (b) is done.
