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?
The goats cost 3*400=$
<gadget id="calculator">3*400</gadget>
<output>1_200</output>
1200.
He buys 3*2=
<gadget id="calculator">3*2</gadget>
<output>6</output>
6 llamas.
Each llama cost 400*1.5=$
<gadget id="calculator">400*1.5</gadget>
<output>600</output>
600.
So he spends 600*6=$
<gadget id="calculator">600*6</gadget>
<output>3_600</output>
3600 on llamas.
So the total cost was 1200+3600=$
<gadget id="calculator">1200+3600</gadget>
<output>4_800</output>
4800.

<result>4_800</result>