M = Point(P)
T, b = Tangent(M, P)
N = OrthogonalLine(M, T)
a = Line(M, yAxis)
c = Mirror(a, N)
A = Point(a)
d = Ray(M, A)
B = Point(c)
R = Ray(M, B)
C = Intersect(P, R, 2)
e = Segment(M, C)

Tool: rayons
Input: P, M
Output: d, e

T, b = Tangent(M, P)
N = OrthogonalLine(M, T)
a = Line(M, yAxis)
c = Mirror(a, N)
A = Point(a)
d = Ray(M, A)
B = Point(c)
R = Ray(M, B)
C = Intersect(P, R, 2)
e = Segment(M, C)