Mueve C y D para ajustar

A = (6, 3)
B = (2, 4)
C = Point(xAxis)
C1: (x(C) - 1.0, y(C))
D = Point(yAxis)
D1: (x(D), y(D) + 2.0)
a = Segment(A, C)
b = Segment(C, C1)
c = Segment(C1, D)
d = Segment(D, D1)
e = Segment(D1, B)
texto1: "Distancia Mínima de A hasta B rebotando en los ejes:  " + (Distance[(5.0, 3.0), (-2.0, -2.0)] + 3.0)
texto2: "Distancia elegida en el dibujo A-C-C'-D-D'-B :  " + (Distance[A, C] + Distance[C, C1] + Distance[C1, D] + Distance[D, D1] + Distance[D1, B])
desliza = 0 (slider from 0 to 1, step 0.1)
A': (x(A) - desliza, y(A))
C': (x(C) - desliza, y(C))
f = Segment(A', C')
B': (x(B), y(B) - desliza * 2.0)
D': (x(D1), y(D1) - desliza * 2.0)
g = Segment(B', D')
B'_1 = Mirror(B', yAxis)
h = Segment(C1, B'_1)
i = Segment(D, B'_1)
B'_2 = Mirror(B'_1, xAxis)
n = Segment(A', B'_2)
D'' = Mirror(D', xAxis)
l = Segment(C', D'')
j = Segment(D'', B'_2)