Answer:
I think the ans is
=Square root(my keyboard doesn't have the square root) b^2+(-c+a)^2
Explanation:
So the point of Q, 0 is the x1, -a is the y1, point P, b is the x2, while -c is y2.
So, you just sub the points of Q and P in the distance formula, then you will find it