In the given figure, D is a point on hypotenuse AC of ΔABC, DM ⊥ BC and DN ⊥ AB, Prove that:
(i) DM2 = DN.MC
(ii) DN2 = DM.AN