a+b=475000
a-x=50000⇒a-50000=x
b-2x=50000
b-2(a-50000)=50000
b-2a+100000=50000
b=2a-100000+50000
b=2a-50000
a+b=475000
a+2a-50000=475000
3a=475000+50000
3a=5250000
a=525000/3
a=175000
b=2a-50000
b=2*175000-50000
b=350000-50000
b=300000
verificare
a=b=475000
175000+300000=475000
475000=475000
b=2a-50000
300000=2*175000-50000
300000=350000-50000
300000=300000