a: \(CH=\dfrac{AH^2}{HB}=8\left(cm\right)\)
BC=BH+CH=12,5(cm)
\(AB=\sqrt{4.5\cdot12.5}=7,5\left(cm\right)\)
\(AC=\sqrt{12.5^2-7.5^2}=10\left(cm\right)\)
b: \(AH=\sqrt{6^2-3^2}=3\sqrt{3}\left(cm\right)\)
\(CH=\dfrac{AH^2}{HB}=9\left(cm\right)\)
\(AC=\sqrt{9\cdot12}=6\sqrt{3}\left(cm\right)\)