Joleen buys a box of 15 candy bars for 10 dollars. She then sells those candy bars to her friends at school for 2 dollars each.
The profit that Joleen makes is given by the function
P(c)=.....c-......
where c is the number of candy bars that she's sold.