Let the quadrilateral $ABCD$ have pairs of non-parallel opposite sides. $O$ is the intersection of $AC$ and $BD$. The circumcircle of the triangles $OAB$, $OCD$ intersect at $X$ different from $O$. The circles The circumcircle of the triangles $OAD$, $OCB$ intersect each other at $Y$ different from $O$. The circles with diameters $AC$, $BD$ intersect at $Z$, $T$. Prove that either $X, Y, Z, T$ belong to the same circle or $X, Y, Z, T$ belong to the same line.
This is an assignment from my maths teacher, when i have learned about Harmonic Division.
I can't solve this geometry problem. Any hints are appreciated.

Invert the configuration around $O$ with arbitrary radius, and let $P'$ be the image of the point $P$. The position of the images I will introduce now can be proven with well-known properties of inversion that I will outline, and you might want to look at the diagram below in order to visualize the resulting construction after the inversion.
Notice that $(\triangle OAB), (\triangle OCD), (\triangle OAD), (\triangle OBC)$ will be sent to lines $A'B', C'D', A'D', B'C'$ respectively since the four circumcircles contain the inversion center $O$. Thus, $X'=A'B'\cap C'D'$ and $Y'=D'A'\cap B'C'$. At the same time, the circles $\Gamma_1, \Gamma_2$ with diameters $AC, BD$ respectively will be sent to the circles $\Gamma_1', \Gamma_2'$ with diameters $A'C', B'D'$ since their centers lie on $AC\ni O, BD\ni O$ respectively. Finally, $X,Y,Z,T$ will lie either on a circle or on a line if and only if $X',Y',Z', T'$ do so.
Thus, the equivalent problem reads:
Yet this follows from Gauss-Bodenmiller Theorem.