Get coordinate point based on three other coordinate points and distances

Hi friends!
I need get coordinate point based on three other coordinate points and distances.
Example:

Data:
point1: (lat:2; long:5)
point2: (lat:4; long:5)
point3: (lat:3; long:3)
pointX: (lat:X; long:Y)

GOLANG Func:
In: Distance1, Distance2, Distance3
Out: x,y

is there any predefined function to trilaterate???

do I have to develop it manually???

Thank you!

There seems to be some third party modules for trilateration. I have no idea if they are any good. Just give any of them a try.