AB = 18 cm and BC = 15 cm