In the figure, if $C$, $A$ and $N$ are points of tangency , determine $CM$. ($S:CM=2$)

I try
CNOI is a square $\therefore CN = l\boxed{}\sqrt2 \implies l_\boxed{}=3\sqrt2\\ FN.MN = DN.IN \implies 9.(6+CM) = DN.3\sqrt2\\ \therefore 18+3CM = DN\sqrt2$
out-of-scale figure


As can be see in figure KN is the diameter of a circle which crosses N', where N' is the projection of N on DB. So this circle is tangent on segment FM at N, that is $KN\bot FM$ , so N must be the mid point of chord FM. In this way we have:
$NM=FN=6\Rightarrow CM=6-4=2$