BMO2 2026 (Problem 2)

The convex quadrilateral ABCDABCD has sides ADAD and BCBC not parallel. The diagonals ACAC and BDBD intersect at XX. The perpendicular bisectors of sides ADAD and BCBC meet at YY. Suppose that YY lies strictly inside triangle XCDXCD.
Prove that AC=BDAC=BD if and only if XYXY bisects ∠DXC\angle DXC.