Tim decides to get animals for his zoo.  He buys 3 goats for $400 each.  He gets twice as many llamas which cost 50% more each.  How much did he spend?
Please reason step by step, and put your final answer within \boxed{}.
user