Math
posted by Ally on .
An appliance company has a warehouse and two terminals. To minimize shipping costs, the manager must decide how many appliances should be shipped to each terminal. There is a total supply of 1200 units in the warehouse and a demand for 400 units in terminal A and 500 units in terminal B. It costs $12 to ship each unit to terminal A and $16 to ship to terminal B. How many units should be shipped to each terminal in order to minimize cost?
Can someone help me come up with a function and the constraints from this question?

The equation I would use is C = 12a + 16b. Does that seem alright? And how would I form the contraints?