Calculate the coordinates of Point P given three known reference points and the observed angles between them from Point P.
This is an old surveyor's technique, not used much any more these days.
If you want to see how it's done, use your browser's "view source" function.
NOTE: The results are indeterminate (that means "wildly inaccurate") if all four points lie on (or sufficiently close to) a circle.