This problem appeared on the network, and although it looks simple I am not sure of the result.

The polygon $ABCD$ is a square with side $4$ cm and the curve inscribed inside the square is a parabola, determine the length of the segment $AP$, if $QC$ is $3$ cm.
The quadratic
Can you take it from here? If not, explain what you've tried and where you're stuck.