a+b = 340 a = 340 - b
a = b/2 ·3 + 25 |·2
2a = 3b + 50
2a = -2b + 680
------------------
0 = 5b - 630 b = 126 a = 214
|____.b.___.|
|_b/2_|_b/2_|_b/2_|___25___|
|____________a__________|___.b.___.|
|_______________340______________|
daca notam b/2 = 1 parte ⇒ 3p + 25 = a
2p + a = 340 ⇒ a = 340 - 2p
⇒ 3p + 25 = 340 - 2p ⇔ 3p+ 2p = 340 - 25 5p = 315 p = 63
b/2 = 63 b = 3·63 = 126 a = 340 2·63 340 - 126 = 214