In △ABC, AD is the bisector of ∠A meeting BC at D. If AB = 15 cm, BC = 10 cm and the length of BD is 2 cm less than that of DC, then the length of AC is: