a) First, applying Pascal's theorem for 6 points (DPN, MEF), we get the intersections of pairs of lines (DE,MP); (DF,MN); (PF,NE) collinear or A, X and Y are collinear.

Clearly, 180∘−∠BAC=∠BHC=∠BKC so K lies on (O). Next, we will prove that XY bisects EF.
Note that MN, MP are the midlines of the triangle ABC so MN∥AB, MP∥AC. Therefore, by Thales's theorem, we have
YFYD=MBMD,XE=MDMC
Let Q be the intersection of XY and EF. Applying Menelaus' theorem to triangle DEF, we get
QEQF=XEXD,YDYF=MDMB,MCMD=−1
or Q is the midpoint of EF. It follows that AQ, AM are isogonal with respect to angle ∠BAC, so AQ is the symmedian of triangle ABC. Therefore, ABZC is a harmonic quadrilateral.
Let J be the intersection of EF and BC, then (JD,BC)=−1 so K(JD,BC)=−1 but we also have K(ZA,BC)=−1, which implies KZ passes through J.
Finally, we have JE⋅JF=JB⋅JC=JK⋅JZ so K,Z,E and F are concyclic.
b) We have ∠EBF=∠ECH=∠EDH, ∠HED=∠HCD=∠BEF because BCEF, EHDC are cyclic quadrilaterals. Therefore, △BEF∼△DEH (a.a). Hence,
2EHHK=EHHD=EFBF=2FQ′BF
but we also have ∠BFQ=∠EHK, then △BFQ∼△SLE (s.a.s), which implies
∠FBQ=∠EKH=∠ABS
or B, Q and S are collinear. Similarly, C, T and S are collinear. Therefore, BS, CT and XY are concurrent at Q. □