In the given figure , A and B are centres of two circles touching each other at M. Line AC and line BD are tangents. If AD = 6 cm and BC = 9 cm then find the length of AC and BD.