. If Troy sells 50 slices of cake at $2 per slice, he will earn $100. If he sells 100 slices, he will earn $200. The more cake slices he sells, the more money he will earn. Troy's goal is to sell as many cake slices as possible to maximize his earnings.