PROBLEM Here is a surprisingly intriguing challenge posed on Euclidea, a mobile app for Euclidean constructions. I have a geometric construction that achieves the goal but not within the constraints. Could anyone advise on a construction that would fit within these constraints?
Given A point $P$ on a circle $O$ whose center is not given.
Goal Inscribe an equilateral triangle $\Delta{PQR}$ in $\bigcirc{O}$.
Constraints Construct all three sides of the $\Delta{PQR}$ to achieve the goal. Only an unmarked straightedge and a non-rusty collapsible compass (i.e., a compass that, while on paper, can have any radius but which cannot maintain said radius when not on paper) can be used. Use only from the construction steps below a number of steps that together require just five lines in total.
- Construct a point: 0 lines (L).
- Mark the intersection of two curves with a point: 0L.
- Construct a new line (*or line segment or ray): 1L.
- Extend a given line segment (*or ray): 1L.
- Construct a circle (non-rusty collapsible compass): 1L.
- Construct the perpendicular bisector of a line segment: 1L.
- Construct a new line perpendicular to an old line: 1L.
- Construct an angle bisector: 1L.
Hints from Euclidea A known solution employs five constructions in the order: Circle, circle, perpendicular bisector, perpendicular bisector, and line.
PREVIOUS WORK As mentioned above, I have a construction that matches neither the 5L-constraint nor the hint. The following figure accompanies the six-line construction below, where the given and goal are shown as an inset:

- Construct a point $A \ne P$ on circle $\bigcirc{O}$ [0L running total].
- Construct $\bigcirc{A(P)}$ centered on point $A$ and with radius $AP$ [1L running total].
- $\bigcirc{A(P)}$ also intersects $\bigcirc{O}$ at another point $B \ne P$.
- Construct $\bigcirc{P(B)}$ [2L running total].
- $\bigcirc{P(B)}$ also intersects $\bigcirc{A(P)}$ at another point $C \ne B$.
- Therefore, $\bigcirc{P(C)} = \bigcirc{P(B)}$.
- Also, $\overline{CP}$ is tangent to $\bigcirc{O}$ at point $P \Longrightarrow m\angle{CPO} = 90^\circ{}$.
- Construct $\bigcirc{C(P)}$ [3L running total].
- $\bigcirc{C(P)} \cap \bigcirc{P(C)} = \lbrace D, E\rbrace$.
- $\bigcirc{C(P)} \cong \bigcirc{P(C)} \Longrightarrow m\angle{CPD} = m\angle{CPE} = 60^\circ{} \Longrightarrow m\angle{DPE} = 120^\circ{}$.
- Without actually constructing anything: Let $\overrightarrow{EP} \cap \bigcirc{P(C)} = E' \Longrightarrow$ $m\angle{DPE'} = m\angle{EPE'} - m\angle{DPE} = 180^\circ{} - 120^\circ{} = 60^\circ{}$.
- Therefore, $\angle{DPE'}$ is the first corner of the desired triangle.
- Construct $\overline{DP}$ [4L running total].
- $\overline{DP} \cap \bigcirc{O} \cap \neg P = Q$.
- $\overline{PQ}$ is the first side of the desired triangle.
- Construct $\overline{DP}$ [5L running total].
- $\overline{EP} \cap \bigcirc{O} \cap \neg P = R$.
- $\overline{PR}$ is the second side of the desired triangle.
- Construct $\overline{QR}$ [6L running total].
- $\overline{QR}$ is the last side of the desired triangle. $\blacksquare$

Using Euclidea's hint, I think this works (barring possible pathological placement of $A$ that I haven't checked) ...
Let the given point be $P$ and the given circle be $p$.
For proof, consider this (differently-tinted) sub-figure:
From congruent equilateral triangles $\triangle B_1 P C_1$ and $\triangle B_1 P C_2$, we deduce that $\stackrel{\frown}{B_1 C_1} \cong \stackrel{\frown}{B_1C_2}$, and thus also that $\angle B_1 B_2 C_1 \cong \angle B_1 B_2 C_2$ (as inscribed angles subtending congruent arcs) with common measure $30^\circ$. A trivial angle chase through right triangles $\triangle B_2 M_1 D_1$ and $\triangle B_2 M_2 D_2$ (and $\triangle B_2 M_2 N$, if you like) shows, then, that $\triangle PD_1D_2$ is (equiangular, and therefore) equilateral, so that the bisector of $\angle D_1 P D_2$ is perpendicular to the common chord $\overline{B_1B_2}$ of (in the notation of the construction) circles $p$ and $a$.
We have shown that lines $c_1$ and $c_2$ (1) meet at a $60^\circ$ angle at $P$, and (2) have an angle bisector that passes through the center of circle $p$. Consequently, they are necessarily side-lines of an equilateral triangle inscribed in $p$ with vertex $P$. $\square$