A function that can be used to model the cost of producing x t-shirts is c(x)= 10 + 7x, and the function that can be used to model the amount of money to be made from selling x t-shirts is m(x) = 20x.
Write a function p(x) to represent the total profit of selling x number of shirts.