Notam:
a = rate
b = gaste
c = gaini
a+b+c = 105
b = a : 3 - 9
c = a + 9
a |___|___|___|
b |___|-9
c |___|___|___|+9
avem 7 segmente egale +9 - 9 = 105
105 +9 - 9 = 105
105 : 7 = 15 (un segment egal)
a = 3×15 = 45
b = 15 - 9 = 6
c = 3×15+9 = 45+9 = 54
Verificare:
45 + 6 + 54 = 105
45 rate
6 gaste
54 gaini