Given that ∠ADB and ∠CDB are right angles, and BD¯¯¯¯¯ bisects ∠B, prove that D is the midpoint of AC¯¯¯¯¯.