A craftsperson has the capacity to produce up to 16 pieces of ceramic pottery per week. Experience has shown that x pieces per week can be sold at a price of (140-2x) each and the cost of producing x pieces is (600+20x+x^2). How many pieces of pottery should be made each week to give the greatest profit?

answer: 16

no clue what to do