Let's define notations of the points and angles as in the figure. Then
∠C2AB=∠C2CB=∠C2CA=∠C2A2A=γ,
∠A2CB=∠A2AB=∠A2AC=∠A2C2C=α
and
∠C2AC=∠A2CA=∠ABC=2β.
By the law of sines in ΔC2AC1 and ΔC2AI we easily obtain:
C1IC2C1=sinαsinγ⋅sin∠AC2Isin∠C2IA=sinαsinγ⋅sin2βsin(α+γ).
Similarly, in ΔIA2C we get:
A1A2IA1=sinαsinγ⋅sin∠A2ICsin∠IA2C=sinαsinγ⋅sin(α+γ)sin2β.
Then
(1)C1IC2C1⋅A1A2IA1=(sinαsinγ)2
By Ceva's theorem in ΔC2A2I we have
(2)NA2C2N=C1IC2C1⋅A1A2IA1=(sinαsinγ)2
In ΔC2IN and ΔA2IN, using (2) we obtain
(3)NIA2C2IN=N2AsinγC2Nsinα=(sinαsinγ)2⋅sinγsinα=sinαsinγ
In ΔAIM and ΔCIM, using (3) we get
AM=sin∠AIMMIsinα=sin∠NIA2MIsinα=sin∠C2INMIsinγ=sin∠MICMIsinγ=MC