x=1/3t+20;
y=(t-1/3t-20)*40/100⇒y=(2/3t-20)*0,4⇒y=0,8/3t-8;
t=x+y+60;
t=1/3t+20+0,8/3t-8+60
t=1,8/3t+72
t-1,8/3t=72
1,2/3t=72
t=72*3/1,2
t=180 lei a avut stefan.
Verificam:
x=1/3*180+20=80 lei a cheltuit in prima zi;
y=0,8/3*180-8=40 lei a cheltuit in a doua zi;
80+40+60=180 lei.
Bafta!