In trapezoid ABCD, AC is a diagonal and ∠ABC≅∠ACD. Find AC if the lengths of the bases BC and AD are 12m and 27m respectively.