Tried this in this guide but I couldn’t do it.
Now that I think about that though, you could try converting x and y to rcos(θ) and rsin(θ) respectively, find the distance from the origin, and then solve for θ, where r is the distance from the origin. For once in my life, I will actually experiment in GKC and not just blabber theoretical nonsense.