According to property associated with Altitudes in Right Angled TriangleThe Altitude to Hypotenuse Divides the triangle into 2 Similar triangles∴ΔADC≅ΔCDBSo CD/AD = BD/CD∴CD²=BD×AD