How do I find a formula for find Total Cost?

http://economics.about.com/cs/studentresources/a/costs.htm