A triangle \(ABC\) is drawn to circumscribe a circle of radius \(4 cm\) such that the segments \(BD\) and \(DC\) into which \(BC\) is divided by the point of contact \(D\) are of lengths \(8 cm\) and \(6 cm\) respectively (see Fig.) Determine the sides \(AB\) and \(AC\).

\(AB=\) \(cm\)
\(AC=\) \(cm\)