a= litri benzina in rezervor
a x 25%=a x 25/100=a/4 consum in prima cursa
a-a/4=3a/4 rest dupa prima cursa
3a/4 x20%=3a/4x1/5=3a/20 consum in cursa a2-a
(a/4+3a/20) = consum ptr.cele 2 curse
a-(a/4+3a/20)=a/4+3a/20+6
a-a/4-3a/20=a/4+3a/20+6
20a-5a-3a=5a+3a+120
4a=120
a=120/4=30 litri
verificare
consum prima cursa 30 x 1/4= 7,5 litri
30-7,5 =22,5 litri
consum a 2-a cursa 22,5 x20%=4,5 litri
22,5-4,5=18 litri rest in rezervor
7,5+4,5=12 litri consum in cele 2 curse
18-12 = 6 litri raman mai mult decat consumul din cele 2 curse