In △AEP and △CDP,
∠APE=∠CPD (Vertically opposite angle)
∠AEP=∠CDP=90o
∴ By AA criterion of similarity, △AEP ∼ △CDP
In △ABD and △CBE
∠ADB=∠CEB=90o
∠B is common
∴ By AA criterion of similarity, △ABD ∼ △CBE
In △AEP and △ADB
∠AEP=∠ADB=90o
∠A is common
∴ By AA criterion of similarity, △AEP ∼ △ADB
△PDC and △BEC
∠PDC=∠BEC=90o
∠C is common
∴ By AA criterion of similarity, △PDC ∼ △BEC