The profit p gained from selling an item can be modeled by a quadratic function in terms of its cost c. If the cost of the item is at $100 or $400, there will be no profit or loss. But if the cost is $250, the item generates the maximum profit of $30. Which graph among the following best describes the function?