x

y

a = -0.2 (slider from -1 to 1, step 0.01)
b = 0.16 (slider from -1 to 1, step 0.01)
A = Point(xAxis)
B = Point(xAxis)
C = Intersect(xAxis, yAxis)
CA = Distance(C, A)
CB = Distance(C, B)
c = Circle(C, CA + a)
d = Circle(C, CB + b)
e = OrthogonalLine(A, xAxis)
f = OrthogonalLine(B, xAxis)
D, E_1 = Intersect(c, yAxis)
G, G_1 = Intersect(d, yAxis)
g = OrthogonalLine(G, yAxis)
h = OrthogonalLine(D, yAxis)
H = Intersect(g, f)
E = Intersect(h, e)
poligon1, a_1, c_1, d_1, i = Polygon(A, C, D, E)
poligon2, c_2, b_1, h_1, f_1 = Polygon(C, B, H, G)
j = Segment(A, H)
k = Segment(E, B)
Q = Intersect(j, f_1)
P = Intersect(k, f_1)