Problem

Source: 2020 Dutch IMO TST 2.4

Tags: geometry, perpendicular



Let $ABC$ be an acute-angled triangle and let $P$ be the intersection of the tangents at $B$ and $C$ of the circumscribed circle of $\vartriangle ABC$. The line through $A$ perpendicular on $AB$ and cuts the line perpendicular on $AC$ through $C$ at $X$. The line through $A$ perpendicular on $AC$ cuts the line perpendicular on $AB$ through $B$ at $Y$. Show that $AP \perp XY$.