b-a = 518
a:3 = b:5 => 5×a = 3×b
a |___|___|___|
b |___|___|___|___|___|
5 segmente egale -3 segmente egale = 2 segmente egale = 518
518:2 = 259 ( un segment)
a = 3×259 = 777
b = 5×259 = 1 295
Verificare:
1 295-777 = 518
777:3 = 1295:5
259 = 259
a = 777
b = 1295