Constant Sum

rectangle

Constant Product

rectangle

Intersection

S = Point(xAxis)
a: x + y = x(S)
P = Point(xAxis)
c: (x * y) = x(P)
A = Point(xAxis)
b = OrthogonalLine(A, xAxis)
B = Intersect(a, b)
d = OrthogonalLine(B, b)
C = Intersect(xAxis, yAxis)
D = Intersect(d, yAxis)
poly1, c_1, d_1, b_1, a_1 = Polygon(C, D, B, A)
E = Point(xAxis)
e = OrthogonalLine(E, xAxis)
F = Intersect(c, e, 1)
f = OrthogonalLine(F, e)
G = Intersect(a_1, c_1)
H = Intersect(f, x = 0)
poly2, g, e_1, f_1, h = Polygon(G, E, F, H)
i = true
j = false
k = false
l = false
I = Intersect(c, a, 2)
J = Intersect(c, a, 1)
m = false
sum: x(S)
text1: "x+y=" + (LaTeX[sum]) + ""
product: x(P)
text2: "x·y=" + (LaTeX[product]) + ""