Profit maximization or Graphical method