Profit function
and
Now
At , [Negative]
has a local maximum value at .
At , Maximum profit
=
= 41 + 16 – 8 = 49