Let ∠ABD=∠ADB=x, and ∠DAB=180−2x. In triangle ACD, by the law of sines, CD=sin∠ACMAD⋅sin198−2x, and by the law of sines in triangle BCD,CD=sin∠BCMBD⋅sinx+36. Combining the two, we have 2cosx=ADBD=sinx+36sin198−2x⋅sin∠ACMsin∠BCM. But by the ratio lemma, 1=MAMB=CACBsin∠ACMsin∠BCM, meaning that sin∠ACMsin∠BCM=CBCA=sin18sin36=2cos18. Plugging this in and simplifying, we have 2cosx=sinx+36sin198−2x⋅2cos18=cos54−xcos108−2x⋅2cos18, so that cos18cosx=cos54−xcos108−2x. We see that x=36∘ is a solution to this equation, and by carefully making rough sketches of both functions, we can convince ourselves that this is the only solution where x is between 0 and 90 degrees. Therefore ∠ABD=∠ADB=36, ∠DAB=108. Simple angle chasing yields ∠AEB=72,∠ECA=54,∠EAC=54,∠EAB=72, making D,A, and E collinear, and so ∠BDE=36. And because AF=AB=AD,∠FDB=1/2∠FAB=9, so ∠FDE=36−9=27.