How to calculate marginal profit and the price to maximize profits?

576 Views Asked by At

Let demand be given by $$q=300-5P$$ and let the cost be given by $$c=30+ 6q$$ Calculate the marginal profit in terms of demand $q$ and find the price to maximize profits.

Would it be possible for me to calculate both from the functions?