a(x) = x ≤ 10
b(x) = x ≥ 50
c(y) = y ≤ 10
d(y) = y ≥ 50
e(x, y) = y ≥ (-x) + 90
f(x, y) = y ≤ (-x) + 50
g(x, y) = y ≤ (2 * x)
h(x, y) = y ≤ (-4 * x) + 100
i(x, y) = y ≥ (-1 / 2 * x) + 50
j: y = (2 * x)
k: y = (-4 * x) + 100
l: y = (-1 / 2 * x) + 50
A = Intersect(j, k)
B = Intersect(j, l)
C = Intersect(k, l)
G(x, y) = (8 * x) - (4 * y) + 1200
m: G(50 / 3, 100 / 3)
n: G(20, 40)
o: G(100 / 7, 300 / 7)
p: G(16.67, 33.33)
q = Segment(A, B)