AB = AC (given)
BD = CD (given)
AD = AD (common)
∴ΔABD≅ΔACD (by SSS congruence rule)
⇒∠BAD=∠CAD (by CPCT)
⇒∠BAP=∠CAP
Hence, AP bisects ∠A.
∠BDA=∠CDA…(i) [CPCT]
Subtracting (i) from 180∘,
180∘−∠BDA=180∘−∠CDA
⇒∠BDP=∠CDP [∵ Linear pair]
∴ AP bisects ∠D as well.