This was part of the solution of a question.
But the part of the explanation says that:
I don't understand how it works. Could anyone explain why $AC={CP\cdot QU \over UP}$ ?
I think I can carry it on once I understand this.
Hint: Similar triangle. Try to show \begin{align} \Delta PQU \sim \Delta PAC. \end{align}