x =banii depusi la bancva
in primul an se adauga (12/100)*X si am in cont x + 12x/100
in al doilea an se adauga 15/ 100 din x+12x/100 adica 15/100( X+12x/100)=15x/100+15*12x/100=15x/100+180x/100=195x/100
195x/100=576,9
de aici scoatem 195x=576,9*100
195x=57690
x=57690/195=295,8