Tom decides to open a theater.  He knows it will cost $5 per square foot of space that he needs and he needs 12 square feet for every seat in his theater.  He wants a 500 seat theater.  He also realizes construction will cost twice as much as the land.  He has a partner who covers 40% of the cost.  How much does Tom spend?
He needs 500 * 12 = 
<gadget id="calculator">500*12</gadget>
<output>6_000</output>
6000 square feet.
This means it cost $5 * 6000 = $30,000.
That means construction comes to $30000 * 2 = $
<gadget id="calculator">30000*2</gadget>
<output>60_000</output>
60,000.
So the total cost is $60000 + $30000 = $
<gadget id="calculator">60000+30000</gadget>
<output>90_000</output>
90,000.
His partner covers $90,000 * .4 = $
<gadget id="calculator">90000*.4</gadget>
<output>36_000</output>
36,000.
So he has to pay $90,000 - $36,000 = $
<gadget id="calculator">90000-36000</gadget>
<output>54_000</output>
54,000.

<result>54_000</result>