Solution:
Let Z be the point where PY intersects AX. The problem asks us to prove that AZ=ZX.

Since ∠BPC=∠BQC=90∘ we conclude that BPQC is a cyclic quadrilateral. Hence BPYQC is a cyclic pentagon. A quick angle chase gives us:
∠ZPA=180∘−∠BPY=∠BCY=180∘−∠XCY=∠XAY=∠ZAY.
Hence triangles △ZPA and △ZAY are similar (∠Z is shared). Therefore ZAZP=ZYZA, and hence ZA2=ZP×ZY.
Another angle chase gives us:
∠XPZ=∠QPY=∠QCY=∠ACY=∠AXY=∠ZXY.
Hence triangles △ZPX and △ZXY are similar (∠Z is shared). Therefore ZXZP=ZYZX and hence ZX2=ZP×ZY.
Putting this together gives us:
ZA2=ZP×ZY=ZX2.
Hence ZA=ZX, and therefore Z is the midpoint of AX.
Alternative Solution (outline):
First we will embed the diagram in the Argand plane, such that point B is represented by the complex number b=−1 and point C is represented by the complex number c=1. Lower case letters will always denote the complex number representing the corresponding upper case letter (so a is the complex number representing point A and x is the complex number representing point X, etc). We will endeavour to find expressions for all the points in the diagram in terms of p and q.
Since ∠BPC=∠BQC=90∘, we know that points P and Q both lie on the unit circle. So ppˉ=qqˉ=1. Therefore the circumcircle of triangle PQC is the unit circle and thus yyˉ=1 too. Since point A is the intersection of chords BP and CQ, we can compute a using the formula for the intersection of two chords.
a=cq−bpcq(b+p)−bp(c+q)=q−(−1)pq(−1+p)−(−1)p(1+q)=p+q2pq+p−q
⇒aˉ=pˉ+qˉ2pˉqˉ+pˉ−qˉ=(pˉ+qˉ)pq(2pˉqˉ+pˉ−qˉ)pq=q+p2+q−p
note:1−aˉ1−a=1−q+p2+q−p1−p+q2pq+p−q=(p+q)−(2+q−p)(p+q)−(2pq+p−q)=2p−22q−2pq=−q.
Similarly X is the intersection of chords PQ and BC, so
x=pq−bcpq(b+c)−bc(p+q)=pq−(−1)pq(0)−(−1)(p+q)=pq+1p+q
Now we have formulas for a and x in terms of p and q. Next we will use the fact that AYCX is cyclic to find a formula for y in terms of p and q. AYCX being cyclic is equivalent to ∠CAY=∠CXY. This is equivalent to
(cˉ−aˉc−a)/(yˉ−aˉy−a)=(cˉ−xˉc−x)/(yˉ−xˉy−x)
To simplify this, first recall that cˉ−aˉc−a=1−aˉ1−a=−q. Also, since c=cˉ and x=xˉ (c and x are real numbers) the cˉ−xˉc−x factor is 1. Furthermore, since yyˉ=1 we can replace yˉ with y−1. Thus the equation for AYCX being cyclic becomes:
(−q)/(y−1−aˉy−a)=1/(y−1−xy−x).
From here, we can multiply out the denominators, expand the brackets and collect like terms to get a quadratic in y.
(qaˉ+x)y2−(qaˉx+q+xa+1)y+(qx+a)=0.
Now (using 1−aˉ1−a=−q) we can get (qaˉ+x+qx+a)=(qaˉx+q+xa+1). Thus the quadratic factorises as:
(y−1)((qaˉ+x)y−(qx+a))=0.
Since Y and C are distinct points, we know y=1 and so we finally get a formula for y
(qaˉ+x)y−(qx+a)=0⟹y=qaˉ+xqx+a
We can now substitute our formulas for a and x (a=p+q2pq+p−q and x=pq+1p+q) into this expression to find y in terms of p and q. After some algebraic simplification this yields:
y=(1−q)p2+(q+q2)p+2q2p2q+(q+1)p+q2−q.
Let M be the midpoint of AX. So
m=2a+x=2p+q2pq+p−q+pq+1p+q=2(p+q)(pq+1)(pq+1)(2pq+p−q)+(p+q)2.
m=2(p+q)(pq+1)(pq+1)(2+q−p)+(p+q)2.
pm−1=2(p+q)(pq+1)(p−1)((1−q)p2+(q+q2)p+2q)
y(pm−1)=2(p+q)(pq+1)(p−1)(2p2q+(q+1)p+q2−q)
y(pm−1)+m=2(p+q)(pq+1)(p−1)(2p2q+(q+1)p+q2−q)+2(p+q)(pq+1)(pq+1)(2pq+p−q)+(p+q)2
=2(p+q)(pq+1)(p−1)(2p2q+(q+1)p+q2−q)+(pq+1)(2pq+p−q)+(p+q)2
=2(p+q)(pq+1)2p3q+2p2q2+2p2+2pq
=p.
We have shown that y(pm−1)+m=p. Hence
m=p+y−pym.
Which interpreted geometrically means that point M lies on chord PY of the unit circle.