P = .50c - 75
You need work your cost into your total profit, $75, which was spent. Since that money was lost, we can say it is -$75. You make 50ยข per cup of hot choclate, which is $0.50. Putting that all together, you can make the function P = .50c - 75.