constraint 1
let
x = number of cups of chocolate
y = number of cups of vanilla
The equation that represents the total number of ice cream is:
x + y = 24
constraint 2
the ratio of the number of chocolate cups to vanilla cups is
y = (1/2) x
Using equations 1 and 2, you can find the number of cups of each favor required.
answer:
x + y = 24
y = (1/2) x