Find the maximum profit and the number of units that must be produced and sold in order to yield the maximum profit. Assume that revenue, Upper R left parenthesis x right parenthesis, and cost, Upper C left parenthesis x right parenthesis, are in thousands of dollars, and x is in thousands of units.