Write a function for p(x), the profit from selling x necklaces.

The revenue from selling x necklaces is r(x) = 10x. The cost of buying x necklaces is c(x) = 4x + 15. The profit from selling x necklaces is p(x) = r(x) – c(x)