Two weeks ago, Star bought 3 cans of tennis balls. Last week, she bought 4 cans of tennis balls. This week, she brought 2 cans of tennis balls. The tennis balls cost d dollars per can. Write an expression in simplest form that represents the total amount that star spent.