C(x) = $12,000 + ($20/piece)x. This is your cost function.
The revenue function is R(x) = ($50/item)x (but you were not asked for this).
7.9m questions
10.6m answers