Răspuns :
A+B=5000. / a:B=4 rest 50. / a=4b+50. / 4b+50+B=5000. / 5b=4950. / B=990. / =4*990+50=4010
a+b=5000
a:b=4 rest 50
a=bx4+50
4b+50+b=5000
5b+50=5000
5b=5000-50
5b=4950
b=4950:5
b=990
a=990x4+50
a=3960+50
a=4010
a:b=4 rest 50
a=bx4+50
4b+50+b=5000
5b+50=5000
5b=5000-50
5b=4950
b=4950:5
b=990
a=990x4+50
a=3960+50
a=4010