im lost on what to do, the question is
The weekly profit function, P, for the sales of apple pies at a pie store is shown.
P(x)=-25x2+150x, where x is the price, in dollars, of each apple pie. Which price of each apple pie will earn the maximum weekly profit, and what is the maximum weekly profit, Show your work or explain how you determined your answers.