Three vertices of a quadrilateral are known (green)

with the fourth vertex (red) is unknown. The angles from the unknown vertex to the other three are also known (green a and b in the diagram). I need to work out the single position for the fourth vertex which satisfies the two angular constraints (a and b).
Here is a link to a GeoGebra visualisation of the problem:
Vertex Position
This is the second time of posting this (the first I deleted), as the first time I don't believe I put enough description for people to understand the full scope of the problem.
This is a stage within the software of a home-brew VR tracking device I am working on. It attempts to match the calculated pattern of sensors (purple dots) given by a “best guess” base position (red dot). The actual readings from the device (green dots) are then compared in groups of three by angle matching against the same sensors and angles. When all the centers given by the groups of three converge, then the “best guess” bearing for the base is the actual bearing for the base. If the centers diverge, then the guess must be refined and the process re-done.
See the image here:

I am currently doing the centre find with the groups of three in an iterative process. As it’s running on an embedded processor (within the device) it has to be efficient and so I am looking for a trigonometric solution to the problem. I have tried to use sine and cosine rules with substitution to come up with an answer but my math skills just aren’t up to the job it seems.
Please keep responses to something a software undergraduate would be able to understand and implement.
Thank you in advance,
Lee

Here's an outline of one way . . .
Then $X$ is one of the intersection points of the two circles.