Explanation:
In a candy box, there are 3 times as many candies with nuts as candies without nuts. There are 12 candies in the box. How many candies with nuts are in the box?
let:
without nuts = x
with nuts = 3x
so:
x + 3x = 12
4x = 12
x = 3, so there are 3 candies without nuts.
Because there are three times more candies with nuts than without:
3 * 3 = 9 candies with nuts