Ответ:

AP = \(\frac{BP \cdot DP}{CP}\) = \(\frac{4 \cdot 21}{12}\) = 7.