a+b+c+d=394
a/b=5/8:3/4=5/6
d/c=10/9:2/3=5/3
a/d=15/4
avem b=6a/5
d=4a/15
c=3d/5=4a/25
deci a+5a/6+4a/15+4a/25=394
a(1+6/5+4/15+4/25)=394
a ( 75+6*15+4*5+4*3)/75=394
a*197:75=394=197*2
a;75=2
a=75*2=150
b=6a/5=180
c=4*150/25=24
d=4*150:15=40
verificare
394= 150+180+24+40=330+64=394 adevarat, problema e bine rezolvata