Notam:
V = suma pe care o are Vasile
D = suma pe care o are Daniel
V = D+339 => V-D = 339
V:D = 8 rest 3
V = 8×D+3
V |__|__|__|__|__|__|__|__|+3
D |__|
8 segmente egale+3 - 1 segment egal = 7 segmente egale +3 = 339
339-3 = 336
336 : 7= 48 ( un segment)
V = 8×48+3 = 384+3 = 387
D = 48
Verificare:
387-48 = 339
Vasile are 387 lei
Daniel are 48 lei