
Patrick B. answered 08/12/20
Math and computer tutor/teacher
x = # of cheez
y = # of chocolate
x+y = 480
0.25x + 0.5y = 160 <-- gave away 75%, so 25% remain; kept half of the chocolate
y = 480-x
25x+50y = 16000
25x + 50(480-x) = 16000
25x + 24000 - 50x = 16000
-25x = -8000
x=320
started with 320 cheez and 160 chocolate
gave away 240 cheez and 80 chocolate
80 cheez and 80 chocolate remain, which is 160