∠DAC=30
So: ∠ BAP = ∠ BAC-∠ DAC = 15.
∠ BPA = 180-∠ CBA-∠ BAP =180-90-15 = 75 (the sum of the interior angles of a triangle is180, and the number of two angles is known, which can be
∠BPA=∠DPC (diagonal lines of two straight lines are equal)
So:
∠DPC=75
Another solution
Because angle B = 90, angle BAC = 45, the sum of the internal angles of triangle ABC is 180.
So BCA angle =45 degrees.
And because angle DPC= angle PCA+ angle PAC (the sum of the outer angles of a triangle is equal to the sum of the other two inner angles).
And the angle DAC = 30 (i.e. the angle PAC).
So the angle DPC = 30+45 = 75.