D is a point on hypotenuse AC of triangle ABC