a=pret mere
b=pret pere
c=pret prune uscate
3a+3b+5c=110
6a+4b+2c=84
adunam primele 2 relatii
9a+7b+7c=110+84=194
6a+7b+7c=176
o scadem pe a 3-a relatie
3a=194-176=18
a=6 lei/kg pret mere
inlocuim valoarea merelor in 2 din relatii
18+3b+5c=110 3b+5c=110-18=92 c=(92-3b)/5
36+4b+2c=84
4b+2c=84-36=48
4b+2(92-3b)/5=48
20b+184-6b=240
14b=56
b=4 lei/kg pret pere
c=(92-3*4)/5=(92-12)/5=16 lei/kg prune uscate