The objective of maximizing total contribution margin can be expressed mathematically.
Let X be the number of units produced and sold of Part X, and let Y stand
for Part Y. Since the unit contribution margins are $300 and $600 for X and Y, respectively,
the total contribution margin (Z) can be expressed as follows