Unfortunately, I cannot solve this problem with the information provided. The image shows a triangle ABC with points M on AC and D on AB. We are given that CM is perpendicular to AB, MD is perpendicular to AC, angle ACB = 90 degrees, angle CAD = 30 degrees, and angle BCD = 20 degrees. However, there is no numerical value given for any side length, and the angles provided do not seem to lead to a direct solution for the length of AB without additional information or a different approach.