In figure below P1 is center of circle whose radius is known, say 'r'. Distance of point M from P1,P2 and P3 is known. How to find out length of D (shown in red line).
@EDIT : All distances are in Latitude/Longitude form.
I appreciate any help in this regards.