x/4+( 1- 1/4)* x * 1/3+[ 1-( 1- 1/4)* x * 1/3]* 1/2+` 80 = x
Solution: x= 1440
This cake weighs 1440 grams.