Let M be the midpoint of BC of triangle ABC. The circle with diameter BC, ω, meets AB,AC at D,E respectively. P lies inside △ABC such that ∠PBA=∠PAC,∠PCA=∠PAB, and 2PM⋅DE=BC2. Point X lies outside ω such that XM∥AP, and XCXB=ACAB. Prove that ∠BXC+∠BAC=90∘.