Problem

Source: 44th International Tournament of Towns, Senior A-Level P2, Spring 2023

Tags: geometry



Perimeter of triangle $ABC$ is $1$. Circle $\omega$ touches side $BC$, continuation of side $AB$ at $P$ and continuation of side $AC$ in $Q$. Line through midpoints $AB$ and $AC$ intersects circumcircle of $APQ$ at $X$ and $Y$. Find length of $XY$.