Triangle $ABC$ is inscribed in a circle. Through points $A$ and $B$ tangents to this circle are drawn, which intersect at point $P$. Points $X$ and $Y$ are orthogonal projections of point $P$ onto lines $AC$ and $BC$. Prove that line $XY$ is perpendicular to the median of triangle $ABC$ from vertex $C$.
Problem
Source: 2004 Oral Moscow Geometry Olympiad grade 9 p4
Tags: geometry, perpendicular, projections