Total profit P is defined as total revenue R -= total cost C, and is given by the function Upper P left parenthesis x right par
enthesis equals Upper R left parenthesis x right parenthesis minus Upper C left parenthesis x right parenthesis. Find the total profit P(x) when R(x)equals150.97 x minus 0.3 x squared and Upper C left parenthesis x right parenthesis equals 4529.10 plus 0.5 x squared.