How To Find Maximum Profit Algebra