Whatis the formula to find maximum revenue?

i know it has to do with something about the # of items you buy and price per each item ...

Your question is way to vague to answer. Could you be more specific.