ab=6cm ac=12 calculate the length of cd