x=rosii
y=cartofi
z=ceapa
x+y+z=2440kg
y= 2x
z=2x-56
Acum inlocuim in prima ecuatie (adunare):
x+2x+2x-56=2440
5x-56=2440
5x=2496
x=2496/5
x=499,2 => y=2×499,2= 998.4 => z=998.4-56=942.4