\text{ \textbf{Nakupovanie: }} r=\text{ 4 kg cukru (plné krúžky) z } \ n=3 \text{ druhov cukru (prázdne krúžky)}

+

1\text{ × } \text{kryštál }

-1

2\text{ × } \text{práškový }

1\text{ × } \text{hnedý }

\text{ spolu } 4 \text{ kg cukru }

A = (0, 1)
B = (2, 1)
C = (4, 1)
D = (6, 1)
E = (8, 1)
F = (-2, 1)
G = (10, 1)
H = (1, 2)
I = (1, 0)
f = Segment(H, I)
H_{1} = (7.00000000000001, 2)
I_{1} = (7.00000000000001, 0)
f_{1} = Segment(H_{1}, I_{1})
H_{2} = (14.94, 2.46)
I_{2} = (14.94, 0.46)
H_{3} = (14, 2)
I_{3} = (-2.7, 5.6)