Question 1204288
<font color=black size=3>
1/5 of the cakes are chocolate
4/5 of the cakes are vanilla or strawberry


c = number of chocolate cakes
c+24 = number of vanilla cakes
18 = number of strawberry cakes
c+(c+24)+18 = 2c+42 = total number of cakes


1/5 of that total is chocolate
(1/5)*total = number of chocolate
(1/5)*(2c+42) = c
2c+42 = 5c
42 = 5c-2c
42 = 3c
3c = 42
c = 42/3
c = 14
Jessica bought 14 chocolate cakes.
She also bought 38 vanilla cakes (because c+24 = 14+24 = 38).


In total she bought 14+38+18 = 70 cakes.
1/5 of that is (1/5)*70 = 0.2*70 = 14, to match with the chocolate cake count. It confirms our answer is correct.



Answers:
(a) <font color=red>4/5</font>
(b) <font color=red>38 vanilla cakes</font>
</font>