profit max example 1 solving using mc mr