P is the midpoint: ((2h+0)/2, (2k+0)/2) = (h,k)
The distance between two points is the square root of: the distance between the x coordinates squared plus the distance between the y coordinates squared.
The length of AP is
You can do the other two using the formula.