If angle ACD is congruent to angle BCD, then angle CAD is congruent to angle DBC as both triangles are right triangles. We know that the triangles share side CD. We also know that angle ACD is congruent to angle BCD and angle CDA is congruent to CDB. Then, we can prove that both triangles are congruent using the ASA theorem. The answer would be the option D.