let the number of ice creams be x then number of chocolates = 3x. we have $ 100. now the equation becomes
(2.5)x + 3(1.5)x = 100 just simplify to get the anwer
You have a budget of $100, and you buy only chocolate and ice cream. For every ice cream you buy 3 chocolates. Ice cream costs $2.50 per unit and chocolates cost $1.50 each. How much of each do you buy?
Rational numbers allowed (i.e. decimal quantities)