And ∠ CDB = 45, because △CDB is an isosceles right triangle.
Tan∠ABD= 1/2, so ∠ Abd = Arctan (1/2) = 26.565.
So tan ∠ APD = tan (45+26.565) = 3.