Notam
a = suma cheltuita in prima zi
b = suma cheltuita in a 2-a zi
a+b = 124
a:b = 2 restul 13
a = 2×b+13
a |____|____|+13
b |____|
avem 3 segmente egale +13 = 124
124-13 = 111
111:3 = 37 ( un segment)
a = 2×37+13 = 74+13 = 87
b = 37
Verificare:
87+37 = 124
87:37 = 2 rest 13
87 lei a cheltuit in prima zi
37 lei a cheltuit a 2-a zi