In the given figure, AD is an altitude of the triangle △ABC. Also, BD=DE. Find the measure of the angle ∠p.