Răspuns :
x-Mihaela Mihaela trebuie sa-i mai dea inca 20 de lei lui Mihai pt a avea sume egale
y-Mihai
/..............x............//......40......../
/..............y.........../
x=y+40
x-40=y+2n
/.............x............../..........40.../
/.............y............./.....n../...n../
40=2n
n=20
/..........x............/......20../
/..........y.........../......n..../
y-Mihai
/..............x............//......40......../
/..............y.........../
x=y+40
x-40=y+2n
/.............x............../..........40.../
/.............y............./.....n../...n../
40=2n
n=20
/..........x............/......20../
/..........y.........../......n..../