MH

AM+MB

H = (-9.075735751868413, 10.059844816694023)
K = Point(Circle[H, 33])
f = Segment(H, K)
M = Point(f)
g = OrthogonalLine(H, f)
h = OrthogonalLine(K, f)
c = Circle(H, 9)
A = Intersect(c, g, 1)
d = Circle(K, 15)
B = Intersect(d, h, 1)
i = Segment(B, M)
j = Segment(M, A)
a: i + j
texte1: "longueur de la course =" + a + ""
HM = Distance(H, M)
MK = Distance(M, K)
AM = Distance(A, M)
MB = Distance(M, B)
distanceHf = Distance(H, f)
distanceMH = Distance(M, H)
TexteMH: Name[M] + (Name[H]) + " = " + distanceMH
M' = Mirror(M, f)
A' = Mirror(A, f)
j' = Segment(M', A')
distanceMK = Distance(M, K)
TexteMK: Name[M] + (Name[K]) + " = " + distanceMK
distanceA'B = Distance(A', B)
TexteA'B: Name[A'] + (Name[B]) + " = " + distanceA'B
k = Line(A', B)
A2: Distance[M, H]
B2: Distance[M, A] + MB