Let us denote ∠ABP=∠BCP=φ and ∠PBC=∠PCA=ψ.
Let T be the midpoint of the segment AC. Since AC is the hypotenuse of the right triangle APC, it follows that ∣AT∣=∣PT∣=∣CT∣. Hence ∠CPT=ψ.

Since ∠DPC is the exterior angle of the triangle BCP, we have
∠DPC=∠PCB+∠PBC=φ+ψ
so ∠DPT=φ.
Applying the law of sines on triangles ABD and PDT we get
∣AB∣∣AD∣=sin∠ADBsin∠ABD,∣PT∣∣DT∣=sin∠PDTsin∠DPT
and then
∣AB∣∣AD∣=sin∠ADBsin∠ABD=sin(180∘−∠ADB)sinφ=sin∠PDTsin∠DPT=∣PT∣∣DT∣
Now it follows that
∣AC∣∣AD∣=∣AB∣∣AD∣=∣PT∣∣DT∣=∣PT∣∣AT∣−∣AD∣=21∣AC∣21∣AC∣−∣AD∣=1−2⋅∣AC∣∣AD∣
so ∣AD∣:∣AC∣=1:3. The desired ratio is ∣AD∣:∣CD∣=1:2.