It suffices to show that
∣MD∣∣AM∣+∣ME∣∣BM∣+∣MF∣∣CM∣≥23.
Quadrilaterals MBDC and MCEA are cyclic, so
∠BCD=∠BMD=∠EMA=∠ECA.
Also, we have
∠DBC=∠DMC=180∘−∠CMA=∠CEA.
Hence we conclude that the triangles BDC and EAC are similar. Analogously, we prove that the triangle BAF is similar to them.

By Ptolemy's theorem for quadrilaterals MBDC, MCEA and MAFB, and by using the ratios from the similarity of BDC, EAC and BAF, we have:
∣MD∣∣ME∣∣MF∣=∣BM∣⋅∣BC∣∣CD∣+∣CM∣⋅∣BC∣∣DB∣,=∣CM∣⋅∣CA∣∣AE∣+∣AM∣⋅∣CA∣∣EC∣=∣CM∣⋅∣CD∣∣DB∣+∣AM∣⋅∣CD∣∣BC∣,=∣AM∣⋅∣AB∣∣BF∣+∣BM∣⋅∣AB∣∣FA∣=∣AM∣⋅∣DB∣∣BC∣+∣BM∣⋅∣DB∣∣CD∣,
from where it follows that
∣MD∣∣AM∣+∣ME∣∣BM∣+∣MF∣∣CM∣=∣BM∣⋅∣CD∣+∣CM∣⋅∣DB∣∣AM∣⋅∣BC∣+∣CM∣⋅∣DB∣+∣AM∣⋅∣BC∣∣BM∣⋅∣CD∣+∣AM∣⋅∣BC∣+∣BM∣⋅∣CD∣∣CM∣⋅∣DB∣
Let us denote x=∣AM∣⋅∣BC∣, y=∣BM∣⋅∣CD∣, z=∣CM∣⋅∣DB∣. We need to prove the inequality
y+zx+z+xy+x+yz≥23.
This is Nesbitt’s famous inequality, so the proof is finished.