Problem

Source: Iranian TST 2021, first exam day 2, problem 6

Tags: geometry, Euler Line



Point $D$ is chosen on the Euler line of triangle $ABC$ and it is inside of the triangle. Points $E,F$ are were the line $BD,CD$ intersect with $AC,AB$ respectively. Point $X$ is on the line $AD$ such that $\angle EXF =180 - \angle A$, also $A,X$ are on the same side of $EF$. If $P$ is the second intersection of circumcircles of $CXF,BXE$ then prove the lines $XP,EF$ meet on the altitude of $A$ Proposed by Alireza Danaie