can anyone please explain me why DB=DP instead of DB=AD?
I am finding it difficult to understand

Step-by-step explanation:
In given, it's said that D is a midpoint, which mean DP == AD, DP is the same as DP because isosceles triangle properties said that two-length are equal when their base angle are equal. In a right triangle, the midpoint D, draws a line to the "90 degree" angle is always a isosceles