A toy factory produces toy cars and toy trucks. For every 3 toy cars, the factory produces 5 toy trucks. Each toy car costs $15 to make, and each toy truck costs $25 to make. If the factory produced 180 toy cars last month, how much did it cost to produce all the toy cars and toy trucks? Let's think step by step and output the final answer within \boxed{}.
user