Isn't it the "setup" that you should be learning?
We have 'x' bicycles per week.
We have C(x), the cost to produce x bicycles.
We have p(x), the price / bicycle, given production of 'x' bicycles.
Weekly Revenue = R(x) = x*p(x)
Weekly Profit = P(x) = R(x) - C(x)
How's that memory trigger doing?