In a convex quadrilateral ABCDABCD the diagonal BDBD does not bisect the angles ABC\angle ABC and CDA\angle CDA. The point PP lies inside ABCDABCD and satisfies PBC=DBA and PDC=BDA.\angle PBC = \angle DBA \text{ and } \angle PDC = \angle BDA.

Prove that ABCDABCD is a cyclic quadrilateral if and only if AP=CPAP = CP.