How to find marginal revenue