I----I----I----I----I branza +rest
I----I----I----I
I----I 24 lei
branza= 24×3=72 lei
72+24=96 lei (branza +rest)
I----I----I----I----I parizer +branza +rest
I----I
I----I----I----I branza+rest =96 lei
96:3=32 lei parizer
96+32=128 lei (parizer+branza + rest)
I----I----I carne+parizer+branza+rest 1/2 din suma
I----I carne
I----I parizer+branza+rest = 128 lei
128 lei =carne
128 ×2 =256 lei suma initiala
prin ecuatie
x=suma initiala
x/2=carne
x-x/2=x/2=rest
x/2×1/4=x/8=parizer
x/2-x/8=3x/8=rest
3x/8 × 3/4=9x/32=branza
x/2+x/8+9x/32+24=x
16x+4x+9x+768=32x
3x=768
x=256 lei